You are here

public function FieldConfigInterface::setLabel in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldConfigInterface.php \Drupal\Core\Field\FieldConfigInterface::setLabel()

Sets the field definition label.

Parameters

string $label: The label to set.

Return value

$this

1 method overrides FieldConfigInterface::setLabel()
FieldConfigBase::setLabel in core/lib/Drupal/Core/Field/FieldConfigBase.php
Sets the field definition label.

File

core/lib/Drupal/Core/Field/FieldConfigInterface.php, line 32
Contains \Drupal\Core\Field\FieldConfigInterface.

Class

FieldConfigInterface
Defines an interface for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function setLabel($label);