mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
consistency in twig methods
The method chill_custom_fields_is_empty take now the fields as first argument, and the customField as second argument, to be consistent with other twig methods.
This commit is contained in:
@@ -85,7 +85,7 @@ class CustomFieldRenderingTwig extends \Twig_Extension implements ContainerAware
|
||||
}
|
||||
|
||||
|
||||
public function isEmptyValue(CustomField $customField, $fields, $slug = null)
|
||||
public function isEmptyValue($fields, CustomField $customField)
|
||||
{
|
||||
return $this->container->get('chill.custom_field.helper')
|
||||
->isEmptyValue($fields, $customField);
|
||||
|
Reference in New Issue
Block a user