You are here

public function FormatterTypeBase::calculateDependencies in Custom Formatters 8.3

Calculates dependencies and stores them in the dependency property.

Return value

array A keyed array of dependencies.

Overrides FormatterTypeInterface::calculateDependencies

1 call to FormatterTypeBase::calculateDependencies()
FormatterPreset::calculateDependencies in src/Plugin/CustomFormatters/FormatterType/FormatterPreset.php
Calculates dependencies and stores them in the dependency property.
1 method overrides FormatterTypeBase::calculateDependencies()
FormatterPreset::calculateDependencies in src/Plugin/CustomFormatters/FormatterType/FormatterPreset.php
Calculates dependencies and stores them in the dependency property.

File

src/FormatterTypeBase.php, line 33

Class

FormatterTypeBase
Class FormatterTypeBase.

Namespace

Drupal\custom_formatters

Code

public function calculateDependencies() {
  return [];
}