abstract protected function RealisticDummyContentAttribute::implementValueFromFile in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::implementValueFromFile()
- 3.x api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::implementValueFromFile()
Given a RealisticDummyContentFileGroup object, get a structured property.
This function is not meant to called directly; rather, call ValueFromFile(). This function must be overriden by subclasses.
Parameters
object $file: An object of type RealisticDummyContentFileGroup.
Return value
null|array Returns structured data to be added to the entity object, or NULL if such data can't be creatd.
Throws
\Exception.
1 call to RealisticDummyContentAttribute::implementValueFromFile()
- RealisticDummyContentAttribute::valueFromFile in api/
src/ includes/ RealisticDummyContentAttribute.php - Given a RealisticDummyContentFileGroup object, get structured property.
6 methods override RealisticDummyContentAttribute::implementValueFromFile()
- RealisticDummyContentImageField::implementValueFromFile in api/
src/ includes/ RealisticDummyContentImageField.php - Given a RealisticDummyContentFileGroup object, get a structured property.
- RealisticDummyContentTermReferenceField::implementValueFromFile in api/
src/ includes/ RealisticDummyContentTermReferenceField.php - Given a RealisticDummyContentFileGroup object, get a structured property.
- RealisticDummyContentTextProperty::implementValueFromFile in api/
src/ includes/ RealisticDummyContentTextProperty.php - Given a RealisticDummyContentFileGroup object, get a structured property.
- RealisticDummyContentTextWithSummaryField::implementValueFromFile in api/
src/ includes/ RealisticDummyContentTextWithSummaryField.php - Given a RealisticDummyContentFileGroup object, get a structured property.
- RealisticDummyContentUserPicture::implementValueFromFile in api/
src/ includes/ RealisticDummyContentUserPicture.php - Given a RealisticDummyContentFileGroup object, get a structured property.
File
- api/
src/ includes/ RealisticDummyContentAttribute.php, line 229
Class
- RealisticDummyContentAttribute
- Represents either a field or a property for an entity.
Namespace
Drupal\realistic_dummy_content_api\includesCode
protected abstract function implementValueFromFile($file);