function BasicExample::execute
Executes the plugin.
Overrides ExecutableInterface::execute
File
-
modules/
action_example/ src/ Plugin/ Action/ BasicExample.php, line 55
Class
- BasicExample
- A basic example action that does nothing.
Namespace
Drupal\action_example\Plugin\ActionCode
public function execute($object = NULL) {
$this->messenger()
->addMessage($this->t('action_example_basic_action fired'));
}