function LibraryDiscoveryParser::drupalGetPath
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php \Drupal\Core\Asset\LibraryDiscoveryParser::drupalGetPath()
Wraps drupal_get_path().
1 call to LibraryDiscoveryParser::drupalGetPath()
- LibraryDiscoveryParser::buildByExtension in core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryParser.php - Parses and builds up all the libraries information of an extension.
1 method overrides LibraryDiscoveryParser::drupalGetPath()
- TestLibraryDiscoveryParser::drupalGetPath in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryParserTest.php - Wraps drupal_get_path().
File
-
core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryParser.php, line 436
Class
- LibraryDiscoveryParser
- Parses library files to get extension data.
Namespace
Drupal\Core\AssetCode
protected function drupalGetPath($type, $name) {
return drupal_get_path($type, $name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.