You are here

public function BackgroundImageInterface::getTypeLabel in Background Image 2.0.x

Same name and namespace in other branches
  1. 8 src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::getTypeLabel()
  2. 2.x src/BackgroundImageInterface.php \Drupal\background_image\BackgroundImageInterface::getTypeLabel()

The type label.

Parameters

bool $link: Whether or not to link to the target entity, if one exists.

Return value

\Drupal\Component\Render\MarkupInterface|string

1 method overrides BackgroundImageInterface::getTypeLabel()
BackgroundImage::getTypeLabel in src/Entity/BackgroundImage.php
The type label.

File

src/BackgroundImageInterface.php, line 292

Class

BackgroundImageInterface
Provides an interface defining a Background Image entity.

Namespace

Drupal\background_image

Code

public function getTypeLabel($link = FALSE);