public FieldConfigBase::setLabel($label)
Sets the field definition label.
Parameters
string $label: The label to set.
Return value
$this
Overrides FieldConfigInterface::setLabel
File
- core/lib/Drupal/Core/Field/FieldConfigBase.php, line 296
Class
- FieldConfigBase
- Base class for configurable field definitions.
Namespace
Drupal\Core\Field
Code
1 2 3 4 | public function setLabel( $label ) { $this ->label = $label ; return $this ; } |
Please login to continue.