You are here

ChartServiceInterface.php in Charts 5.0.x

File

src/Services/ChartServiceInterface.php
View source
<?php

namespace Drupal\charts\Services;


/**
 * Interface ChartServiceInterface.
 *
 * @package Drupal\charts\Services
 */
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 = '');

}

Interfaces

Namesort descending Description
ChartServiceInterface Interface ChartServiceInterface.