You are here

public function BackgroundImageManagerInterface::validEntity in Background Image 8

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

Checks whether an entity can use background images.

Parameters

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

Return value

bool TRUE or FALSE

1 method overrides BackgroundImageManagerInterface::validEntity()
BackgroundImageManager::validEntity in src/BackgroundImageManager.php
Checks whether an entity can use background images.

File

src/BackgroundImageManagerInterface.php, line 353

Class

BackgroundImageManagerInterface

Namespace

Drupal\background_image

Code

public function validEntity(EntityInterface $entity);