public function ChartService::setLibrarySelected in Charts 8.3
Same name and namespace in other branches
- 8.4 src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
- 8 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: Library selected.
Overrides ChartServiceInterface::setLibrarySelected
File
- src/
Services/ ChartService.php, line 24
Class
- ChartService
- Service class for getting and setting the currently selected library's state.
Namespace
Drupal\charts\ServicesCode
public function setLibrarySelected($librarySelected = '') {
$this->librarySelected = $librarySelected;
}