DemoContentParserInterface.php in Open Social 10.3.x
Same filename and directory in other branches
- 8.9 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.2 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.3 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.4 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.5 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.6 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.7 modules/custom/social_demo/src/DemoContentParserInterface.php
- 8.8 modules/custom/social_demo/src/DemoContentParserInterface.php
- 10.0.x modules/custom/social_demo/src/DemoContentParserInterface.php
- 10.1.x modules/custom/social_demo/src/DemoContentParserInterface.php
- 10.2.x modules/custom/social_demo/src/DemoContentParserInterface.php
Namespace
Drupal\social_demoFile
modules/custom/social_demo/src/DemoContentParserInterface.phpView source
<?php
namespace Drupal\social_demo;
/**
* Interface DemoContentParserInterface.
*
* @package Drupal\social_demo
*/
interface DemoContentParserInterface {
/**
* Returns the path for the given file.
*
* @param string $file
* The filename.
* @param string $module
* The module where the Yaml file is placed.
* @param string $profile
* The profile used.
*
* @return string
* String with the full pathname including the file.
*/
public function getPath($file, $module, $profile);
/**
* Parses YAML file into a PHP value.
*
* @param string $file
* The filename.
* @param string $module
* The module where the Yaml file is placed.
* @param string $profile
* The profile used.
*
* @return mixed
* The YAML converted to a PHP value.
*/
public function parseFileFromModule($file, $module, $profile);
}
Interfaces
Name![]() |
Description |
---|---|
DemoContentParserInterface | Interface DemoContentParserInterface. |