You are here

public function SaveMedia::execute in Media entity 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Action/SaveMedia.php \Drupal\media_entity\Plugin\Action\SaveMedia::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/SaveMedia.php, line 24

Class

SaveMedia
Saves a media item.

Namespace

Drupal\media_entity\Plugin\Action

Code

public function execute(MediaInterface $entity = NULL) {
}