protected function DemoContent::fetchData in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.2 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.3 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.4 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.5 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.6 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.7 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 8.8 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 10.3.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 10.0.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 10.1.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
- 10.2.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::fetchData()
Gets the data from a file.
9 calls to DemoContent::fetchData()
- DemoComment::createContent in modules/
custom/ social_demo/ src/ DemoComment.php - Creates content.
- DemoContent::removeContent in modules/
custom/ social_demo/ src/ DemoContent.php - Removes content.
- DemoEntity::createContent in modules/
custom/ social_demo/ src/ DemoEntity.php - Creates content.
- DemoFile::createContent in modules/
custom/ social_demo/ src/ DemoFile.php - Creates content.
- DemoGroup::createContent in modules/
custom/ social_demo/ src/ DemoGroup.php - Creates content.
File
- modules/
custom/ social_demo/ src/ DemoContent.php, line 123
Class
- DemoContent
- Class DemoContent.
Namespace
Drupal\social_demoCode
protected function fetchData() {
if (!$this->data) {
$this->data = $this->parser
->parseFileFromModule($this
->getSource(), $this
->getModule(), $this
->getProfile());
}
return $this->data;
}