Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Entity.php

function Entity::calculateDependencies

Same name in this branch
  1. 11.1.x core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::calculateDependencies()
  2. 11.1.x core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::calculateDependencies()

Overrides DependentPluginInterface::calculateDependencies

File

core/modules/migrate/src/Plugin/migrate/destination/Entity.php, line 262

Class

Entity
Provides a generic destination to import entities.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function calculateDependencies() {
    $this->addDependency('module', $this->storage
        ->getEntityType()
        ->getProvider());
    return $this->dependencies;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal