public function RealisticDummyContentProperty::getType in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentProperty.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentProperty::getType()
- 7.2 api/src/includes/RealisticDummyContentProperty.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentProperty::getType()
Returns the type of this attribute.
Drupal uses fields (managed by the field system) and properties to define attributes of entities. Fields include body and field_image; properties include title and the user picture.
Return value
string 'property' or 'field'
Overrides RealisticDummyContentAttribute::getType
File
- api/
src/ includes/ RealisticDummyContentProperty.php, line 13
Class
- RealisticDummyContentProperty
- Represents properties like the user picture or node titles.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function getType() {
return 'property';
}