You are here

interface ConfigurationHandlerInterface in Configuration Management 7.3

Hierarchy

Expanded class hierarchy of ConfigurationHandlerInterface

All classes that implement ConfigurationHandlerInterface

1 file declares its use of ConfigurationHandlerInterface
ConfigurationHandler.php in src/Handlers/ConfigurationHandler.php

File

src/ConfigurationHandlerInterface.php, line 8

Namespace

Configuration
View source
interface ConfigurationHandlerInterface extends EventSubscriberInterface {

  /**
   * Returns the types of configurations that this class can handle.
   *
   * @return array.
   */
  public static function getSupportedTypes();

  /**
   * Returns the configuration identifiers handled by this instance.
   *
   * @return array
   *   An array of identifiers.
   */
  public function getIdentifiers();

  /**
   * Loads the configuration from the database.
   *
   * @param string $identifier
   *   The identifier of the configuration to load.
   *
   * @return \Configuration\Configuration
   *   A configuration object.
   */
  public function loadFromDatabase($identifier);

  /**
   * Saves the given configuration into the database.
   *
   * @param  \Configuration\Configuration $configuration
   *   The configuration to be saved.
   */
  public function writeToDatabase(Configuration $configuration);

  /**
   * Deletes a configuration from the database.
   *
   * @param  \Configuration\Configuration $configuration
   *   The configuration to be deleted.
   */
  public function removeFromDatabase(Configuration $configuration);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurationHandlerInterface::getIdentifiers public function Returns the configuration identifiers handled by this instance. 1
ConfigurationHandlerInterface::getSupportedTypes public static function Returns the types of configurations that this class can handle. 1
ConfigurationHandlerInterface::loadFromDatabase public function Loads the configuration from the database. 1
ConfigurationHandlerInterface::removeFromDatabase public function Deletes a configuration from the database. 1
ConfigurationHandlerInterface::writeToDatabase public function Saves the given configuration into the database. 1