function PluginSettingsBase::getThirdPartySettings

Same name in other branches
  1. 9 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. 11.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySettings()

Overrides ThirdPartySettingsInterface::getThirdPartySettings

1 call to PluginSettingsBase::getThirdPartySettings()
FormatterBase::view in core/lib/Drupal/Core/Field/FormatterBase.php
Builds a renderable array for a fully themed field.

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 isset($this->thirdPartySettings[$module]) ? $this->thirdPartySettings[$module] : [];
    }
    return $this->thirdPartySettings;
}

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