public function FlexiformFormEntityManager::getContextDefinitions in Flexiform 8
Get the context definitions from the form entity plugins.
Return value
File
- src/
FormEntity/ FlexiformFormEntityManager.php, line 84
Class
- FlexiformFormEntityManager
- Class for form entity managers.
Namespace
Drupal\flexiform\FormEntityCode
public function getContextDefinitions() {
$context_definitions = [];
foreach ($this->contexts as $namespace => $context) {
$context_definitions[$namespace] = $context
->getContextDefinition();
}
return $context_definitions;
}