You are here

public function ChartService::setLibrarySelected in Charts 8

Same name and namespace in other branches
  1. 8.4 src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
  2. 8.3 src/Services/ChartService.php \Drupal\charts\Services\ChartService::setLibrarySelected()
  3. 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\Services

Code

public function setLibrarySelected($librarySelected) {
  $this->librarySelected = $librarySelected;
}