public function EntityExtraField::calculateDependencies in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::calculateDependencies()
Calculates dependencies and stores them in the dependency property.
Return value
$this
Overrides ConfigEntityBase::calculateDependencies
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
File
- src/
Entity/ EntityExtraField.php, line 370
Class
- EntityExtraField
- Define entity extra field.
Namespace
Drupal\entity_extra_field\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
if ($field_type_plugin = $this
->getFieldTypePlugin()) {
$this
->calculatePluginDependencies($field_type_plugin);
}
return $this;
}