Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigEntityBase.php

function ConfigEntityBase::get

Overrides ConfigEntityInterface::get

15 calls to ConfigEntityBase::get()
Block::getPluginCollection in core/modules/block/src/Entity/Block.php
Encapsulates the creation of the block's LazyPluginCollection.
Block::getVisibilityConditions in core/modules/block/src/Entity/Block.php
Gets conditions for this block.
Block::label in core/modules/block/src/Entity/Block.php
Gets the label of the entity.
ConfigEntityBase::toArray in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Gets an array of all property values.
EntityDisplayBase::getMode in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Gets the view or form mode to be displayed.

... See full list

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal