function TypedData::getName

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/TypedData/TypedData.php \Drupal\Core\TypedData\TypedData::getName()
  2. 10 core/lib/Drupal/Core/TypedData/TypedData.php \Drupal\Core\TypedData\TypedData::getName()
  3. 11.x core/lib/Drupal/Core/TypedData/TypedData.php \Drupal\Core\TypedData\TypedData::getName()

Overrides TypedDataInterface::getName

3 calls to TypedData::getName()
EntityReferenceItem::setValue in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Overrides \Drupal\Core\TypedData\TypedData::setValue().
LayoutSectionItemList::getEntity in core/modules/layout_builder/src/Field/LayoutSectionItemList.php
Gets the entity that field belongs to.
SectionData::setValue in core/modules/layout_builder/src/Plugin/DataType/SectionData.php
Sets the data value.

File

core/lib/Drupal/Core/TypedData/TypedData.php, line 155

Class

TypedData
The abstract base class for typed data.

Namespace

Drupal\Core\TypedData

Code

public function getName() {
    return $this->name;
}

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