You are here

public property SchemaPropertyType::$tree_depth in Schema.org Metatag 8.2

Tree depth.

Goes with the $tree_parent, the depth used for the above parent(s) to create the desired array of @type values. This will limit the depth of elements pulled from the data. To pull all values, set this to -1.

Type: int

File

src/Annotation/SchemaPropertyType.php, line 77

Class

SchemaPropertyType
Defines a Schema property type item annotation object.

Namespace

Drupal\schema_metatag\Annotation

Code

public $tree_depth;