function EntityTypeInterface::get

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::get()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::get()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::get()

Gets any arbitrary property.

Parameters

string $property: The property to retrieve.

Return value

mixed The value for that property, or NULL if the property does not exist.

1 method overrides EntityTypeInterface::get()
EntityType::get in core/lib/Drupal/Core/Entity/EntityType.php
Gets any arbitrary property.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 45

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function get($property);

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