Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Action.php

function Action::setPlugin

File

core/modules/system/src/Entity/Action.php, line 137

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

public function setPlugin($plugin_id) {
    $this->plugin = $plugin_id;
    $this->getPluginCollection()
        ->addInstanceId($plugin_id);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal