function BasicExample::execute
Same name in other branches
- 4.0.x modules/action_example/src/Plugin/Action/BasicExample.php \Drupal\action_example\Plugin\Action\BasicExample::execute()
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'));
}