public function BackgroundImageInterface::label in Background Image 2.x
Same name and namespace in other branches
- 8 src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::label()
- 2.0.x src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::label()
Gets the label of the entity.
Parameters
bool $link: Whether or not to link to the target entity, if one exists.
Return value
\Drupal\Component\Render\MarkupInterface|string|null The label of the entity, or NULL if there is no label defined.
Overrides EntityInterface::label
File
- src/
BackgroundImageInterface.php, line 323
Class
- BackgroundImageInterface
- Provides an interface defining a Background Image entity.
Namespace
Drupal\background_imageCode
public function label($link = FALSE);