mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 08:14:24 +00:00
fix renderLabel signature
This commit is contained in:
parent
287c70c6f3
commit
7a8ef70cd1
@ -103,11 +103,10 @@ class CustomFieldRenderingTwig extends \Twig_Extension implements ContainerAware
|
||||
* Twig Extension that is used to render the label of a custom field.
|
||||
*
|
||||
* @param CustomField $customField Either a customField OR a customizable_entity OR the FQDN of the entity
|
||||
* @param string $slug The slug ONLY necessary if the first argument is NOT a CustomField instance
|
||||
* @param array $params The parameters for rendering. Currently, 'label_layout' allow to choose a different label. Default is 'ChillCustomFieldsBundle:CustomField:render_label.html.twig'
|
||||
* @return string HTML representation of the custom field label.
|
||||
*/
|
||||
public function renderLabel(CustomField $customField, $slug = null, array $params = array())
|
||||
public function renderLabel(CustomField $customField, array $params = array())
|
||||
{
|
||||
$resolvedParams = array_merge($this->defaultParams, $params);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user