htools-8.x-1.x-dev/modules/htools_migrate/src/Plugin/Action/Derivative/RebuildRemoteMediaByContentDeriver.php
modules/htools_migrate/src/Plugin/Action/Derivative/RebuildRemoteMediaByContentDeriver.php
<?php
namespace Drupal\htools_migrate\Plugin\Action\Derivative;
use Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase;
use Drupal\Core\Entity\EntityTypeInterface;
/**
* Provides an action deriver that finds entity types with delete form.
*
* @see \Drupal\Core\Action\Plugin\Action\DeleteAction
*/
class RebuildRemoteMediaByContentDeriver extends EntityActionDeriverBase {
/**
* {@inheritdoc}
*/
public function getDerivativeDefinitions($base_plugin_definition) {
return parent::getDerivativeDefinitions($base_plugin_definition);
}
/**
* {@inheritdoc}
*/
protected function isApplicable(EntityTypeInterface $entity_type) {
return TRUE;
}
}
