You are here

public function BackgroundImage::getText in Background Image 8

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

Return value

string

Overrides BackgroundImageInterface::getText

File

src/Entity/BackgroundImage.php, line 609

Class

BackgroundImage
Defines the Background Image entity.

Namespace

Drupal\background_image\Entity

Code

public function getText() {
  return $this
    ->getSetting('text.value');
}