ActionPluginCollection.php

Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/Action/ActionPluginCollection.php
  2. 10 core/lib/Drupal/Core/Action/ActionPluginCollection.php
  3. 11.x core/lib/Drupal/Core/Action/ActionPluginCollection.php

Namespace

Drupal\Core\Action

File

core/lib/Drupal/Core/Action/ActionPluginCollection.php

View source
<?php

namespace Drupal\Core\Action;

use Drupal\Core\Plugin\DefaultSingleLazyPluginCollection;

/**
 * Provides a container for lazily loading Action plugins.
 */
class ActionPluginCollection extends DefaultSingleLazyPluginCollection {
    
    /**
     * {@inheritdoc}
     *
     * @return \Drupal\Core\Action\ActionInterface
     */
    public function &get($instance_id) {
        return parent::get($instance_id);
    }

}

Classes

Title Deprecated Summary
ActionPluginCollection Provides a container for lazily loading Action plugins.

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