You are here

DevelImageProviderPluginInterface.php in Devel images provider 8

Contains \Drupal\devel_image_provider\DevelImageProviderPluginInterface.

File

lib/Drupal/devel_image_provider/Plugin/Type/DevelImageProviderPluginInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\devel_image_provider\DevelImageProviderPluginInterface.
 */
namespace Drupal\devel_image_provider\Plugin\Type;

use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * Interface definition for Devel Image Provider plugins.
 */
interface DevelImageProviderPluginInterface extends PluginInspectionInterface {

  /**
   * Sets the available methods to get the images from this provider.
   */
  public function availableMethods();

  /**
   * Generates a settings form for this handler.
   */
  public function settingsForm();

  /**
   * Generates a settings form validate function for this handler.
   */
  public function settingsFormValidate(&$form, &$form_state);

  /**
   * Generates a settings form submit function for this handler.
   */
  public function settingsFormSubmit(&$form, &$form_state);

  /**
   * Image generation handler.
   */
  public function generateImage($object, $field, $instance, $bundle);

}

Interfaces

Namesort descending Description
DevelImageProviderPluginInterface Interface definition for Devel Image Provider plugins.