function InputConfigurator::getDataDefinitions
Returns the typed data definitions for the inputs defined by this recipe.
This does NOT return the data definitions for inputs defined by this recipe's dependencies.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface[] The typed data definitions, keyed by input name.
1 call to InputConfigurator::getDataDefinitions()
- InputConfigurator::describeAll in core/
lib/ Drupal/ Core/ Recipe/ InputConfigurator.php - Returns the description for all inputs of this recipe and its dependencies.
File
-
core/
lib/ Drupal/ Core/ Recipe/ InputConfigurator.php, line 88
Class
- InputConfigurator
- Collects and validates input values for a recipe.
Namespace
Drupal\Core\RecipeCode
public function getDataDefinitions() : array {
return array_map(fn(TypedDataInterface $data) => $data->getDataDefinition(), $this->data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.