ide_helper-8.x-2.x-dev/tests/expected/Integration/PhpStormMeta/drupal.taxonomy.0900.php

tests/expected/Integration/PhpStormMeta/drupal.taxonomy.0900.php
<?php

/**
 * @file
 * PhpStorm meta.
 */

namespace PHPSTORM_META {

  override(
    \Drupal\Core\Entity\EntityTypeManagerInterface::getStorage(0),
    map([
      'taxonomy_term' => \Drupal\taxonomy\TermStorageInterface::class,
      'taxonomy_vocabulary' => \Drupal\taxonomy\VocabularyStorageInterface::class,
    ])
  );

  override(
    \Drupal\Core\Entity\EntityTypeManagerInterface::getAccessControlHandler(0),
    map([
      'taxonomy_term' => \Drupal\Core\Entity\EntityAccessControlHandlerInterface::class,
      'taxonomy_vocabulary' => \Drupal\Core\Entity\EntityAccessControlHandlerInterface::class,
    ])
  );

  override(
    \Drupal\Core\Entity\EntityTypeManagerInterface::getListBuilder(0),
    map([
      'taxonomy_term' => \Drupal\Core\Entity\EntityListBuilderInterface::class,
      'taxonomy_vocabulary' => \Drupal\Core\Entity\EntityListBuilderInterface::class,
    ])
  );

  override(
    \Drupal\Core\Entity\EntityTypeManagerInterface::getViewBuilder(0),
    map([
      'taxonomy_term' => \Drupal\Core\Entity\EntityViewBuilderInterface::class,
    ])
  );

  override(
    \Symfony\Component\DependencyInjection\ContainerInterface::get(0),
    map([
      'taxonomy_term.breadcrumb' => \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::class,
      'taxonomy_term.taxonomy_term_route_context' => \Drupal\Core\Plugin\Context\ContextProviderInterface::class,
    ])
  );

  override(
    \Drupal::service(0),
    map([
      'taxonomy_term.breadcrumb' => \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::class,
      'taxonomy_term.taxonomy_term_route_context' => \Drupal\Core\Plugin\Context\ContextProviderInterface::class,
    ])
  );

  override(
    \Drupal\Core\Url::fromRoute(0),
    map([
      'entity.taxonomy_term.add_form' => \Drupal\Core\Url::class,
      'entity.taxonomy_term.canonical' => \Drupal\Core\Url::class,
      'entity.taxonomy_term.delete_form' => \Drupal\Core\Url::class,
      'entity.taxonomy_term.edit_form' => \Drupal\Core\Url::class,
    ])
  );

  override(
    \Drupal\Core\Link::createFromRoute(1),
    map([
      'entity.taxonomy_term.add_form' => \Drupal\Core\Link::class,
      'entity.taxonomy_term.canonical' => \Drupal\Core\Link::class,
      'entity.taxonomy_term.delete_form' => \Drupal\Core\Link::class,
      'entity.taxonomy_term.edit_form' => \Drupal\Core\Link::class,
    ])
  );

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc