You are here

interface ChartOverrideInterface in Charts 8.3

Defines an interface for ChartSettings plugins.

Hierarchy

Expanded class hierarchy of ChartOverrideInterface

All classes that implement ChartOverrideInterface

File

src/Plugin/override/ChartOverrideInterface.php, line 9

Namespace

Drupal\charts\Plugin\override
View source
interface ChartOverrideInterface {

  /**
   * Return the name of the reusable chart setting plugin.
   *
   * @return string
   */
  public function getName();

  /**
   * Builds an array of Chart Settings with key value pairs
   *
   * @param $settings array
   *
   * @return array
   */
  public function chartOverrides(array $settings = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ChartOverrideInterface::chartOverrides public function Builds an array of Chart Settings with key value pairs 5
ChartOverrideInterface::getName public function Return the name of the reusable chart setting plugin. 1