You are here

public function BackgroundImageManagerInterface::getEntityConfig in Background Image 2.0.x

Same name and namespace in other branches
  1. 8 src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::getEntityConfig()
  2. 2.x src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::getEntityConfig()

Retrieves an entity property value from the config.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: An entity.

string $property: A nested property to pluck.

Return value

mixed

1 method overrides BackgroundImageManagerInterface::getEntityConfig()
BackgroundImageManager::getEntityConfig in src/BackgroundImageManager.php
Retrieves an entity property value from the config.

File

src/BackgroundImageManagerInterface.php, line 186

Class

BackgroundImageManagerInterface

Namespace

Drupal\background_image

Code

public function getEntityConfig(EntityInterface $entity, $property);