Fixed linking issue, improved the new helpers to not hard code the component name to them.

This commit is contained in:
2022-05-16 06:27:50 +02:00
parent 1e0533ffa5
commit c99cb17c5b
28 changed files with 382 additions and 113 deletions

View File

@ -15,6 +15,7 @@ namespace VDM\Joomla\Utilities\String;
use Joomla\CMS\Component\ComponentHelper;
use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\Component\Helper;
/**
@ -47,7 +48,7 @@ abstract class FieldHelper
// get global value
if (self::$builder === false)
{
self::$builder = ComponentHelper::getParams('com_componentbuilder')->get('field_name_builder', 1);
self::$builder = Helper::getParams()->get('field_name_builder', 1);
}
// use the new convention