You are here

public function ConfigPagesLoaderServiceInterface::getValue in Config Pages 8.2

Same name and namespace in other branches
  1. 8.3 src/ConfigPagesLoaderServiceInterface.php \Drupal\config_pages\ConfigPagesLoaderServiceInterface::getValue()

Get value from CP.

Parameters

string|ConfigPages $type: Config page object or type name.

string $field_name: Field name.

array|int $deltas: Field value deltas that you like to get.

string $key: Field "value" key.

Return value

array|mixed|null Value (or array of values) from specified field in CP.

1 method overrides ConfigPagesLoaderServiceInterface::getValue()
ConfigPagesLoaderService::getValue in src/ConfigPagesLoaderService.php
Get value from CP.

File

src/ConfigPagesLoaderServiceInterface.php, line 40

Class

ConfigPagesLoaderServiceInterface
Class ConfigPagesLoaderService.

Namespace

Drupal\config_pages

Code

public function getValue($type, $field_name, $deltas = [], $key = NULL);