You are here

public static function BackgroundImageInterface::getTypes in Background Image 2.0.x

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

Retrieves all the types.

Return value

array An indexed array where the type is the key and the label is the value.

1 method overrides BackgroundImageInterface::getTypes()
BackgroundImage::getTypes in src/Entity/BackgroundImage.php
Retrieves all the types.

File

src/BackgroundImageInterface.php, line 300

Class

BackgroundImageInterface
Provides an interface defining a Background Image entity.

Namespace

Drupal\background_image

Code

public static function getTypes();