public function BackgroundImageManagerInterface::validEntity in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::validEntity()
- 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
Namespace
Drupal\background_imageCode
public function validEntity(EntityInterface $entity);