date_recur-8.x-2.2/src/Entity/DateRecurInterpreterInterface.php
src/Entity/DateRecurInterpreterInterface.php
<?php
declare(strict_types=1);
namespace Drupal\date_recur\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\EntityWithPluginCollectionInterface;
use Drupal\date_recur\Plugin\DateRecurInterpreterPluginInterface;
/**
* Interface for Recurring Date interpreters.
*/
interface DateRecurInterpreterInterface extends ConfigEntityInterface, EntityWithPluginCollectionInterface {
/**
* Get the plugin.
*
* @return \Drupal\date_recur\Plugin\DateRecurInterpreterPluginInterface
* The plugin.
*/
public function getPlugin(): DateRecurInterpreterPluginInterface;
/**
* Set the plugin ID.
*
* @param string $plugin_id
* The plugin ID.
*/
public function setPlugin($plugin_id): void;
}
