You are here

public function ContextProviderInterface::getProvidedContextDefinition in Rules 8.3

Gets a specific provided context definition of the plugin.

Parameters

string $name: The name of the provided context in the plugin definition.

Return value

\Drupal\Component\Plugin\Context\ContextDefinitionInterface The definition of the provided context.

Throws

\Drupal\Component\Plugin\Exception\PluginException If the requested provided context is not defined.

File

src/Context/ContextProviderInterface.php, line 55

Class

ContextProviderInterface
Interface for plugins that provide context.

Namespace

Drupal\rules\Context

Code

public function getProvidedContextDefinition($name);