You are here

public function DateRecurInterpreter::getPlugin in Recurring Dates Field 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPlugin()
  2. 3.x src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPlugin()
  3. 3.1.x src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPlugin()

Get the plugin.

Return value

\Drupal\date_recur\Plugin\DateRecurInterpreterPluginInterface The plugin.

Overrides DateRecurInterpreterInterface::getPlugin

File

src/Entity/DateRecurInterpreter.php, line 112

Class

DateRecurInterpreter
Defines an instance of Recurring Date interpreter.

Namespace

Drupal\date_recur\Entity

Code

public function getPlugin() : DateRecurInterpreterPluginInterface {
  return $this
    ->getPluginCollection()
    ->get($this->plugin);
}