You are here

PluginWrapperInterface.php in RESTful 7.2

File

src/Plugin/resource/DataInterpreter/PluginWrapperInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\restful\Plugin\resource\DataInterpreter\PluginWrapperInterface.
 */
namespace Drupal\restful\Plugin\resource\DataInterpreter;

interface PluginWrapperInterface {

  /**
   * Gets a field from the plugin configuration.
   *
   * @param string $key
   *   The key to get.
   *
   * @return mixed
   *   The value.
   */
  public function get($key);

}

Interfaces