You are here

interface ChartServiceInterface in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Services/ChartServiceInterface.php \Drupal\charts\Services\ChartServiceInterface
  2. 8 src/Services/ChartServiceInterface.php \Drupal\charts\Services\ChartServiceInterface
  3. 8.3 src/Services/ChartServiceInterface.php \Drupal\charts\Services\ChartServiceInterface

Interface ChartServiceInterface.

@package Drupal\charts\Services

Hierarchy

Expanded class hierarchy of ChartServiceInterface

All classes that implement ChartServiceInterface

File

src/Services/ChartServiceInterface.php, line 10

Namespace

Drupal\charts\Services
View source
interface ChartServiceInterface {

  /**
   * Gets the currently selected Library.
   *
   * @return string
   *   Library selected.
   */
  public function getLibrarySelected();

  /**
   * Sets the previously set Library with the newly selected library value.
   *
   * @param string $librarySelected
   *   Library selected.
   */
  public function setLibrarySelected($librarySelected = '');

}

Members

Namesort descending Modifiers Type Description Overrides
ChartServiceInterface::getLibrarySelected public function Gets the currently selected Library. 1
ChartServiceInterface::setLibrarySelected public function Sets the previously set Library with the newly selected library value. 1