You are here

public function CronJobInterface::getPlugin in Ultimate Cron 8.2

Get job plugin.

If no plugin name is provided current plugin of the specified type will be returned.

Parameters

string $plugin_type: Name of plugin type.

string $name: (optional) The name of the plugin.

Return value

\Drupal\ultimate_cron\CronPlugin Plugin instance of the specified type.

1 method overrides CronJobInterface::getPlugin()
CronJob::getPlugin in src/Entity/CronJob.php
Get job plugin.

File

src/CronJobInterface.php, line 354

Class

CronJobInterface

Namespace

Drupal\ultimate_cron

Code

public function getPlugin($plugin_type, $name = NULL);