interface ConfigEntityRevisionFieldsInterface in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionFieldsInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionFieldsInterface
- 1.x src/ConfigEntityRevisionFieldsInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionFieldsInterface
Hierarchy
- interface \Drupal\config_entity_revisions\ConfigEntityRevisionFieldsInterface
Expanded class hierarchy of ConfigEntityRevisionFieldsInterface
All classes that implement ConfigEntityRevisionFieldsInterface
File
- src/
ConfigEntityRevisionFieldsInterface.php, line 5
Namespace
Drupal\config_entity_revisionsView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigEntityRevisionFieldsInterface:: |
public static | function | Adds the revision form fields to the form. | 1 |
ConfigEntityRevisionFieldsInterface:: |
public static | function | Should new revisions created by default? | 1 |