You are here

ChartOverrideInterface.php in Charts 8.3

File

src/Plugin/override/ChartOverrideInterface.php
View source
<?php

namespace Drupal\charts\Plugin\override;


/**
 * Defines an interface for ChartSettings plugins.
 */
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 = []);

}

Interfaces

Namesort descending Description
ChartOverrideInterface Defines an interface for ChartSettings plugins.