You are here

public function ActionUserGrant::execute in Content Access 8

Executes the plugin.

Overrides RulesActionBase::execute

File

src/Plugin/RulesAction/ActionUserGrant.php, line 42

Class

ActionUserGrant
Provides a 'Grant access by user' action.

Namespace

Drupal\content_access\Plugin\RulesAction

Code

public function execute() {
  $params = $this
    ->getContextValues();
  $this
    ->actionUser($params, 'grant');
}