public function DsFieldBase::bundle in Display Suite 8.2
Same name and namespace in other branches
- 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::bundle()
- 8.3 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::bundle()
Gets the current bundle.
Overrides DsFieldInterface::bundle
3 calls to DsFieldBase::bundle()
- DsFieldBase::isAllowed in src/
Plugin/ DsField/ DsFieldBase.php - Returns if the field is allowed on the field UI screen.
- SwitchField::settingsForm in modules/
ds_extras/ src/ Plugin/ DsField/ SwitchField.php - The form that holds the settings for this plugin.
- SwitchField::settingsSummary in modules/
ds_extras/ src/ Plugin/ DsField/ SwitchField.php - Returns the summary of the chosen settings.
File
- src/
Plugin/ DsField/ DsFieldBase.php, line 134
Class
- DsFieldBase
- Base class for all the ds plugins.
Namespace
Drupal\ds\Plugin\DsFieldCode
public function bundle() {
return $this->configuration['bundle'];
}