public DataDefinition::setSettings(array $settings)
Sets the array of settings, as required by the used class.
Parameters
array $settings: The array of settings.
Return value
static The object itself for chaining.
File
- core/lib/Drupal/Core/TypedData/DataDefinition.php, line 228
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedData
Code
public function setSettings(array $settings) { $this->definition['settings'] = $settings; return $this; }
Please login to continue.