function ExpressionManagerInterface::createInstance
Creates a pre-configured instance of a plugin.
Parameters
string $plugin_id: The ID of the plugin being instantiated.
array $configuration: An array of configuration relevant to the plugin instance.
Return value
\Drupal\rules\Engine\ExpressionInterface A fully configured plugin instance.
Overrides FactoryInterface::createInstance
File
-
src/
Engine/ ExpressionManagerInterface.php, line 19
Class
- ExpressionManagerInterface
- Defines an interface for the expression plugin manager.
Namespace
Drupal\rules\EngineCode
public function createInstance($plugin_id, array $configuration = []);