ezcontent-8.x-dev/modules/ezcontent_node/modules/ezcontent_smart_article/src/EzcontentImageCaptioningPluginBase.php

modules/ezcontent_node/modules/ezcontent_smart_article/src/EzcontentImageCaptioningPluginBase.php
<?php

namespace Drupal\ezcontent_smart_article;

use Drupal\Component\Plugin\PluginBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\file\Entity\File;

/**
 * A base class implementation for image captioning plugin manager.
 */
abstract class EzcontentImageCaptioningPluginBase extends PluginBase implements EzcontentImageCaptioningInterface {

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static(
      $configuration,
      $plugin_id,
      $plugin_definition
    );
  }

  /**
   * {@inheritdoc}
   */
  public function getImageCaption(File $file) {}

}

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

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