public function DemoContentParserInterface::parseFileFromModule in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.2 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.3 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.4 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.5 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.6 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 8.7 modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 10.3.x modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 10.0.x modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 10.1.x modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
- 10.2.x modules/custom/social_demo/src/DemoContentParserInterface.php \Drupal\social_demo\DemoContentParserInterface::parseFileFromModule()
Parses YAML file into a PHP value.
Parameters
string $file: The filename.
string $module: The module where the Yaml file is placed.
string $profile: The profile used.
Return value
mixed The YAML converted to a PHP value.
1 method overrides DemoContentParserInterface::parseFileFromModule()
- DemoContentParser::parseFileFromModule in modules/
custom/ social_demo/ src/ DemoContentParser.php - Parses YAML file into a PHP value.
File
- modules/
custom/ social_demo/ src/ DemoContentParserInterface.php, line 40
Class
- DemoContentParserInterface
- Interface DemoContentParserInterface.
Namespace
Drupal\social_demoCode
public function parseFileFromModule($file, $module, $profile);