public function Action::setPlugin in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::setPlugin()
- 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::setPlugin()
File
- core/
modules/ system/ src/ Entity/ Action.php, line 113
Class
- Action
- Defines the configured action entity.
Namespace
Drupal\system\EntityCode
public function setPlugin($plugin_id) {
$this->plugin = $plugin_id;
$this
->getPluginCollection()
->addInstanceId($plugin_id);
}