You are here

DateRecurInterpreterInterface.php in Recurring Dates Field 3.0.x

File

src/Entity/DateRecurInterpreterInterface.php
View source
<?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;

}

Interfaces

Namesort descending Description
DateRecurInterpreterInterface Interface for Recurring Date interpreters.