ChartService.php in Charts 8.4
Same filename and directory in other branches
Namespace
Drupal\charts\ServicesFile
src/Services/ChartService.phpView source
<?php
namespace Drupal\charts\Services;
/**
* Service class for getting and setting the currently selected library's state.
*
* @package Drupal\charts\Services
*/
class ChartService implements ChartServiceInterface {
/**
* The selected library.
*
* @var string
*/
private $librarySelected;
/**
* {@inheritdoc}
*/
public function getLibrarySelected() {
return $this->librarySelected;
}
/**
* {@inheritdoc}
*/
public function setLibrarySelected($librarySelected = '') {
$this->librarySelected = $librarySelected;
}
}
Classes
Name | Description |
---|---|
ChartService | Service class for getting and setting the currently selected library's state. |