You are here

public function BackgroundImageInterface::getTarget in Background Image 8

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

Retrieves the target identifier that is specific to the type.

Parameters

bool $explode: Flag indicating whether to split the target into an array based on the colon (:) delimiter. This is useful for entity based targets.

Return value

string|string[]

1 method overrides BackgroundImageInterface::getTarget()
BackgroundImage::getTarget in src/Entity/BackgroundImage.php
Retrieves the target identifier that is specific to the type.

File

src/BackgroundImageInterface.php, line 218

Class

BackgroundImageInterface
Provides an interface defining a Background Image entity.

Namespace

Drupal\background_image

Code

public function getTarget($explode = FALSE);