public function Field::setName

Implements ContextAwareInterface::setName().

Overrides ContextAwareInterface::setName

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php, line 206
Definition of Drupal\Core\Entity\Field\Type\Field.

Class

Field
An entity field, i.e. a list of field items.

Namespace

Drupal\Core\Entity\Field\Type

Code

public function setName($name) {
  $this->name = $name;
}