3 namespace Drupal\Component\Plugin\Definition;
6 * Defines a plugin definition.
8 * Object-based plugin definitions MUST implement this interface.
12 interface PluginDefinitionInterface {
15 * Gets the unique identifier of the plugin.
18 * The unique identifier of the plugin.
25 * @param string $class
26 * A fully qualified class name.
30 * @throws \InvalidArgumentException
31 * If the class is invalid.
33 public function setClass($class);
39 * A fully qualified class name.
41 public function getClass();
44 * Gets the plugin provider.
46 * The provider is the name of the module that provides the plugin, or "core',
52 public function getProvider();