FormElementBase::$definition

Same name in other branches
  1. 8.9.x core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::definition
  2. 10 core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::definition
  3. 11.x core/modules/config_translation/src/FormElement/FormElementBase.php \Drupal\config_translation\FormElement\FormElementBase::definition

The data definition of the element this form element is for.

Type: \Drupal\Core\TypedData\DataDefinitionInterface

File

core/modules/config_translation/src/FormElement/FormElementBase.php, line 30

Class

FormElementBase
Provides a common base class for form elements.

Namespace

Drupal\config_translation\FormElement

Code

protected $definition;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.