3 namespace Drupal\Core\Config\Entity;
6 * Interface for configuration entities to store third party information.
8 * A third party is a module that needs to store tightly coupled information to
9 * the configuration entity. For example, a module alters the node type form
10 * can use this to store its configuration so that it will be deployed with the
13 interface ThirdPartySettingsInterface {
16 * Sets the value of a third-party setting.
18 * @param string $module
19 * The module providing the third-party setting.
27 public function setThirdPartySetting($module, $key, $value);
30 * Gets the value of a third-party setting.
32 * @param string $module
33 * The module providing the third-party setting.
36 * @param mixed $default
42 public function getThirdPartySetting($module, $key, $default = NULL);
46 * Gets all third-party settings of a given module.
48 * @param string $module
49 * The module providing the third-party settings.
52 * An array of key-value pairs.
54 public function getThirdPartySettings($module);
57 * Unsets a third-party setting.
59 * @param string $module
60 * The module providing the third-party setting.
67 public function unsetThirdPartySetting($module, $key);
70 * Gets the list of third parties that store information.
73 * The list of third parties.
75 public function getThirdPartyProviders();