DataDefinition::getSettings

public DataDefinition::getSettings()

Returns the array of settings, as required by the used class.

See the documentation of the class for supported or required settings.

Return value

array The array of settings.

Overrides DataDefinitionInterface::getSettings

File

core/lib/Drupal/Core/TypedData/DataDefinition.php, line 215

Class

DataDefinition
A typed data definition class for defining data based on defined data types.

Namespace

Drupal\Core\TypedData

Code

public function getSettings() {
  return isset($this->definition['settings']) ? $this->definition['settings'] : array();
}
doc_Drupal
2016-10-29 09:00:06
Comments
Leave a Comment

Please login to continue.