InfoParserDynamic::getRequiredKeys

protected 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 44

Class

InfoParserDynamic
Parses dynamic .info.yml files that might change during the page request.

Namespace

Drupal\Core\Extension

Code

protected function getRequiredKeys() {
  return array('type', 'core', 'name');
}
doc_Drupal
2016-10-29 09:20:35
Comments
Leave a Comment

Please login to continue.