public function BackgroundImageInterface::hasEntityToken in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::hasEntityToken()
- 2.0.x src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::hasEntityToken()
Indicates whether this background image contains entity based tokens.
Parameters
string|string[] $entity_type: Optional. Specific entity types to look for.
string|string[] $property: Optional. Specific entity properties to look for.
Return value
bool
1 method overrides BackgroundImageInterface::hasEntityToken()
- BackgroundImage::hasEntityToken in src/
Entity/ BackgroundImage.php - Indicates whether this background image contains entity based tokens.
File
- src/
BackgroundImageInterface.php, line 312
Class
- BackgroundImageInterface
- Provides an interface defining a Background Image entity.
Namespace
Drupal\background_imageCode
public function hasEntityToken($entity_type = NULL, $property = NULL);