protected function LibraryDiscoveryParser::drupalGetPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 392 - Contains \Drupal\Core\Asset\LibraryDiscoveryParser.
Class
- LibraryDiscoveryParser
- Parses library files to get extension data.
Namespace
Drupal\Core\AssetCode
protected function drupalGetPath($type, $name) {
return drupal_get_path($type, $name);
}