function TypedData::getName

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

Overrides TypedDataInterface::getName

2 calls to TypedData::getName()
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.