protected function 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');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!InfoParserDynamic.php/function/InfoParserDynamic::getRequiredKeys/8.1.x