You are here

interface ExtrafieldRenderClassInterface in Extrafield Views Integration 8

Interface ExtrafieldCallbackInterface @package Drupal\extrafield_views_integration

Hierarchy

Expanded class hierarchy of ExtrafieldRenderClassInterface

All classes that implement ExtrafieldRenderClassInterface

1 file declares its use of ExtrafieldRenderClassInterface
ExtrafieldViewsIntegration.php in src/Plugin/views/field/ExtrafieldViewsIntegration.php

File

src/lib/ExtrafieldRenderClassInterface.php, line 17

Namespace

Drupal\extrafield_views_integration\lib
View source
interface ExtrafieldRenderClassInterface {

  /**
   * Render function will be called from views.
   * @param Entity $entity
   * @return mixed
   */
  public static function render(Entity $entity);

}

Members

Namesort descending Modifiers Type Description Overrides
ExtrafieldRenderClassInterface::render public static function Render function will be called from views.