MediaEmbed::$recursiveRenderDepth

Same name in other branches
  1. 9 core/modules/media/src/Plugin/Filter/MediaEmbed.php \Drupal\media\Plugin\Filter\MediaEmbed::recursiveRenderDepth
  2. 10 core/modules/media/src/Plugin/Filter/MediaEmbed.php \Drupal\media\Plugin\Filter\MediaEmbed::recursiveRenderDepth
  3. 11.x core/modules/media/src/Plugin/Filter/MediaEmbed.php \Drupal\media\Plugin\Filter\MediaEmbed::recursiveRenderDepth

An array of counters for the recursive rendering protection.

Each counter takes into account all the relevant information about the field and the referenced entity that is being rendered.

Type: array

See also

\Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter::$recursiveRenderDepth

File

core/modules/media/src/Plugin/Filter/MediaEmbed.php, line 96

Class

MediaEmbed
Provides a filter to embed media items using a custom tag.

Namespace

Drupal\media\Plugin\Filter

Code

protected static $recursiveRenderDepth = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.