You are here

public static function ElementEntityClassTrait::defaultSettings in Element Class Formatter 8

File

src/Plugin/Field/FieldFormatter/ElementEntityClassTrait.php, line 21

Class

ElementEntityClassTrait
The ElementEntityClassTrait is used for adding classes to the #item_attributes of fields that display other entities.

Namespace

Drupal\element_class_formatter\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return ElementClassTrait::elementClassDefaultSettings(parent::defaultSettings());
}