You are here

public function BackgroundImageInterface::getSetting in Background Image 8

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

Parameters

string $name: The name of the setting to retrieve.

mixed $default: The default value to use if the setting doesn't exist.

Return value

mixed The value for the the setting or $default if the setting doesn't exist.

1 method overrides BackgroundImageInterface::getSetting()
BackgroundImage::getSetting in src/Entity/BackgroundImage.php

File

src/BackgroundImageInterface.php, line 189

Class

BackgroundImageInterface
Provides an interface defining a Background Image entity.

Namespace

Drupal\background_image

Code

public function getSetting($name, $default = NULL);