You are here

JSONViewsInterface.php in JSON Field 8

Namespace

Drupal\json_field

File

src/JSONViewsInterface.php
View source
<?php

namespace Drupal\json_field;

use Drupal\field\FieldStorageConfigInterface;

/**
 * Class JSONViews.
 *
 * @package Drupal\json_field
 */
interface JSONViewsInterface {

  /**
   * Gets the views data for a field instance.
   *
   * @param \Drupal\field\FieldStorageConfigInterface $field_storage
   *
   * @return array
   *   The JSON field views data.
   */
  public function getViewsFieldData(FieldStorageConfigInterface $field_storage);

}

Interfaces

Namesort descending Description
JSONViewsInterface Class JSONViews.