EntityDisplayPluginCollection.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php
  3. 10 core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php

Namespace

Drupal\Core\Entity

File

core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php

View source
<?php

namespace Drupal\Core\Entity;

use Drupal\Core\Plugin\DefaultLazyPluginCollection;

/**
 * A collection of formatters or widgets.
 */
class EntityDisplayPluginCollection extends DefaultLazyPluginCollection {
    
    /**
     * The key within the plugin configuration that contains the plugin ID.
     *
     * @var string
     */
    protected $pluginKey = 'type';

}

Classes

Title Deprecated Summary
EntityDisplayPluginCollection A collection of formatters or widgets.

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