public function ChartService::setLibrarySelected in Charts 8
Same name and namespace in other branches
- 8.4 src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
- 8.3 src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
- 5.0.x src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
Sets the previously set Library with the newly selected library value.
Parameters
String $librarySelected .:
Overrides ChartServiceInterface::setLibrarySelected
File
- src/
Services/ ChartService.php, line 32
Class
- ChartService
- Service class necessary for getting and setting the state of the currently selected Library.
Namespace
Drupal\charts\ServicesCode
public function setLibrarySelected($librarySelected) {
$this->librarySelected = $librarySelected;
}