You are here

interface ConfigEntityRevisionFieldsInterface in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionFieldsInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionFieldsInterface
  2. 1.x src/ConfigEntityRevisionFieldsInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionFieldsInterface

Hierarchy

Expanded class hierarchy of ConfigEntityRevisionFieldsInterface

All classes that implement ConfigEntityRevisionFieldsInterface

File

src/ConfigEntityRevisionFieldsInterface.php, line 5

Namespace

Drupal\config_entity_revisions
View source
interface ConfigEntityRevisionFieldsInterface {

  /**
   * Should new revisions created by default?
   *
   * @return bool
   *   No new revision by default.
   */
  public static function getNewRevisionDefault();

  /**
   * Adds the revision form fields to the form.
   *
   * @param &$form
   *   The form to which the fields should be added.
   */
  public static function addRevisionFormFields(&$form);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEntityRevisionFieldsInterface::addRevisionFormFields public static function Adds the revision form fields to the form. 1
ConfigEntityRevisionFieldsInterface::getNewRevisionDefault public static function Should new revisions created by default? 1