protected function PathMapping::getPathMapping in Gatsby Live Preview & Incremental Builds 2.0.x
Same name and namespace in other branches
- 8 src/PathMapping.php \Drupal\gatsby\PathMapping::getPathMapping()
1 call to PathMapping::getPathMapping()
- PathMapping::getPath in src/
PathMapping.php - Gets the Gatsby path for a content-entity.
File
- src/
PathMapping.php, line 100
Class
- PathMapping
- Defines a class for mapping paths between Drupal and Gatsby.
Namespace
Drupal\gatsbyCode
protected function getPathMapping() {
$settings = $this->configFactory
->get('gatsby.settings');
return self::parsePathMapping($settings
->get('path_mapping'));
}