You are here

public function BackgroundImageManagerInterface::getEntityBundleLabel in Background Image 8

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

Retrieves the bundle label for a given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity to use as the target.

Return value

string|null The bundle label or NULL if it doesn't exist.

1 method overrides BackgroundImageManagerInterface::getEntityBundleLabel()
BackgroundImageManager::getEntityBundleLabel in src/BackgroundImageManager.php
Retrieves the bundle label for a given entity.

File

src/BackgroundImageManagerInterface.php, line 174

Class

BackgroundImageManagerInterface

Namespace

Drupal\background_image

Code

public function getEntityBundleLabel(EntityInterface $entity);