You are here

public function FieldStateBase::label in Field States UI 8.2

Same name and namespace in other branches
  1. 8 src/FieldStateBase.php \Drupal\field_states_ui\FieldStateBase::label()

Returns the field state label.

Return value

string The field state label.

Overrides FieldStateInterface::label

File

src/FieldStateBase.php, line 114

Class

FieldStateBase
Provides a base class for field staes.

Namespace

Drupal\field_states_ui

Code

public function label() {
  return $this->pluginDefinition['label'];
}