public function PropertyTypeBase::getTreeDepth in Schema.org Metatag 8.2
The depth of the class tree to use for @type options.
Return value
int The depth of the class tree.
Overrides PropertyTypeInterface::getTreeDepth
1 call to PropertyTypeBase::getTreeDepth()
- 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 111
Class
- PropertyTypeBase
- Base class for Property type plugins.
Namespace
Drupal\schema_metatag\Plugin\schema_metatagCode
public function getTreeDepth() {
return !empty($this->pluginDefinition['tree_depth']) ? $this->pluginDefinition['tree_depth'] : -1;
}