function RulesUiManagerInterface::getDefinition
Gets a specific plugin definition.
Parameters
string $plugin_id: A plugin id.
bool $exception_on_invalid: (optional) If TRUE, an invalid plugin ID will throw an exception.
Return value
\Drupal\rules\Ui\RulesUiDefinition|null A plugin definition, or NULL if the plugin ID is invalid and $exception_on_invalid is FALSE.
Overrides DiscoveryInterface::getDefinition
File
-
src/
Ui/ RulesUiManagerInterface.php, line 38
Class
- RulesUiManagerInterface
- Interface for the 'rules_ui' plugin manager.
Namespace
Drupal\rules\UiCode
public function getDefinition($plugin_id, $exception_on_invalid = TRUE);