function ConfigEntityBase::get

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::get()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::get()
  3. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::get()
  4. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::get()
7 calls to ConfigEntityBase::get()
FilterFormat::postSave in core/modules/filter/src/Entity/FilterFormat.php
Acts on a saved entity before the insert or update hook is invoked.
View::addCacheMetadata in core/modules/views/src/Entity/View.php
Fills in the cache metadata of this view.
View::duplicateDisplayAsType in core/modules/views/src/Entity/View.php
Duplicates an existing display into a new display type.
View::label in core/modules/views/src/Entity/View.php
Gets the label of the entity.
View::mergeDefaultDisplaysOptions in core/modules/views/src/Entity/View.php
Add defaults to the display options.

... See full list

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 158

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function get($property_name) {
  return $this->{$property_name} ?? NULL;
}

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