protected function InfoParserDynamic::getRequiredKeys in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/InfoParserDynamic.php \Drupal\Core\Extension\InfoParserDynamic::getRequiredKeys()
- 9 core/lib/Drupal/Core/Extension/InfoParserDynamic.php \Drupal\Core\Extension\InfoParserDynamic::getRequiredKeys()
Returns an array of keys required to exist in .info.yml file.
Return value
array An array of required keys.
File
- core/
lib/ Drupal/ Core/ Extension/ InfoParserDynamic.php, line 112
Class
- InfoParserDynamic
- Parses dynamic .info.yml files that might change during the page request.
Namespace
Drupal\Core\ExtensionCode
protected function getRequiredKeys() {
return [
'type',
'name',
];
}