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

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

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

use Drupal\bim_gdpr\PluginManager\BimGdprTemplate\BimGdprTemplateInterface;
use Drupal\bim_gdpr\PluginManager\BimGdprTemplate\AbstractBimGdprTemplate;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Plugin implementation For the type processor.
 *
 * @BimGdprTemplateAnnotation(
 *   id = "{{ plugin_id }}",
 *   label = "{{ plugin_name }}",
 * )
 */
class {{ plugin_class }}BimGdprTemplate extends AbstractBimGdprTemplate implements BimGdprTemplateInterface {

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

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

}

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

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