public ConfigEntityBase::unsetThirdPartySetting($module, $key)
Unsets a third-party setting.
string $module: The module providing the third-party setting.
string $key: The setting name.
mixed The value.
Overrides ThirdPartySettingsInterface::unsetThirdPartySetting
public function unsetThirdPartySetting($module, $key) { unset($this->third_party_settings[$module][$key]); // If the third party is no longer storing any information, completely // remove the array holding the settings for this module. if (empty($this->third_party_settings[$module])) { unset($this->third_party_settings[$module]); } return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!ConfigEntityBase.php/function/ConfigEntityBase::unsetThirdPartySetting/8.1.x