You are here

ObjectWithPluginCollectionInterface.php in Markdown 8.2

File

src/BcSupport/ObjectWithPluginCollectionInterface.php
View source
<?php

namespace Drupal\markdown\BcSupport;

if (!interface_exists('\\Drupal\\Core\\Plugin\\ObjectWithPluginCollectionInterface')) {

  /* @noinspection PhpIgnoredClassAliasDeclaration */
  class_alias('\\Drupal\\markdown\\BcSupport\\BcAliasedInterface', '\\Drupal\\Core\\Plugin\\ObjectWithPluginCollectionInterface');
}
use Drupal\Core\Plugin\ObjectWithPluginCollectionInterface as CoreObjectWithPluginCollectionInterface;

/**
 * Provides an interface for an object using a plugin collection.
 *
 * @see \Drupal\Component\Plugin\LazyPluginCollection
 *
 * @deprecated in markdown:8.x-2.0 and is removed from markdown:3.0.0.
 *   Use \Drupal\Core\Plugin\ObjectWithPluginCollectionInterface instead.
 *
 * @see https://www.drupal.org/project/markdown/issues/3103679
 */
interface ObjectWithPluginCollectionInterface extends CoreObjectWithPluginCollectionInterface {

  /**
   * Gets the plugin collections used by this object.
   *
   * @return \Drupal\Component\Plugin\LazyPluginCollection[]
   *   An array of plugin collections, keyed by the property name they use to
   *   store their configuration.
   */
  public function getPluginCollections();

}

Interfaces

Namesort descending Description
ObjectWithPluginCollectionInterface Deprecated Provides an interface for an object using a plugin collection.