public function PropertyTypeBase::getTreeParent in Schema.org Metatag 8.2
The classes to use for the @type options of this property.
Return value
array Returns an array of classes.
Overrides PropertyTypeInterface::getTreeParent
1 call to PropertyTypeBase::getTreeParent()
- PropertyTypeBase::form in src/
Plugin/ schema_metatag/ PropertyTypeBase.php - Create a complete form element for this property type.
File
- src/
Plugin/ schema_metatag/ PropertyTypeBase.php, line 104
Class
- PropertyTypeBase
- Base class for Property type plugins.
Namespace
Drupal\schema_metatag\Plugin\schema_metatagCode
public function getTreeParent() {
return !empty($this->pluginDefinition['tree_parent']) ? $this->pluginDefinition['tree_parent'] : [];
}