You are here

interface SettingsInterface in Social API 8

Same name and namespace in other branches
  1. 8.2 src/Settings/SettingsInterface.php \Drupal\social_api\Settings\SettingsInterface
  2. 3.x src/Settings/SettingsInterface.php \Drupal\social_api\Settings\SettingsInterface

Class SettingsInterface.

@package Drupal\social_api\Settings

Hierarchy

Expanded class hierarchy of SettingsInterface

All classes that implement SettingsInterface

1 file declares its use of SettingsInterface
NetworkBase.php in src/Plugin/NetworkBase.php

File

src/Settings/SettingsInterface.php, line 12

Namespace

Drupal\social_api\Settings
View source
interface SettingsInterface {

  /**
   * Gets the configuration object.
   *
   * @return ImmutableConfig
   *   The configuration object associated with the settings.
   */
  public function getConfig();

  /**
   * Factory method to create a new settings object.
   *
   * @param ImmutableConfig $config
   *   The configuration object.
   */
  public static function factory(ImmutableConfig $config);

}

Members

Namesort descending Modifiers Type Description Overrides
SettingsInterface::factory public static function Factory method to create a new settings object. 1
SettingsInterface::getConfig public function Gets the configuration object. 1