function PluginSettingsBase::getThirdPartySettings

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySettings()
  2. 10 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySettings()
  3. 8.9.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySettings()

File

core/lib/Drupal/Core/Field/PluginSettingsBase.php, line 95

Class

PluginSettingsBase
Base class for the Field API plugins.

Namespace

Drupal\Core\Field

Code

public function getThirdPartySettings($module = NULL) {
  if ($module) {
    return $this->thirdPartySettings[$module] ?? [];
  }
  return $this->thirdPartySettings;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.