bim_gdpr-1.0.0-rc3/src/Generators/BimGdprServiceType/templates/plugin.twig

src/Generators/BimGdprServiceType/templates/plugin.twig
<?php

namespace Drupal\{{ machine_name }}\Plugin\bim_gdpr\BimGdprServiceType;

use Drupal\bim_gdpr\PluginManager\BimGdprServiceType\BimGdprServiceTypeInterface;
use Drupal\bim_gdpr\PluginManager\BimGdprServiceType\AbstractBimGdprServiceType;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Plugin implementation For the type processor.
 *
 * @BimGdprServiceTypeAnnotation(
 *   id = "{{ plugin_id }}",
 *   label = "{{ plugin_name }}",
 *   weight = {{ plugin_weight }}
 * )
 */
class {{ plugin_class }}BimGdprServiceType extends AbstractBimGdprServiceType implements BimGdprServiceTypeInterface {

  /**
   * {{ plugin_class }} constructor.
   */
  public function __construct() {
  }

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container): BimGdprServiceTypeInterface {
    return new static();
  }

}

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

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