You are here

public function SinglePageSiteManager::getSmoothScrolling in Single Page Site 8

Same name and namespace in other branches
  1. 2.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getSmoothScrolling()
  2. 2.0.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getSmoothScrolling()

Returns smooth scrolling option.

Return value

array|mixed|null Returns the SmoothScrolling.

File

src/Manager/SinglePageSiteManager.php, line 173

Class

SinglePageSiteManager
Class SinglePageSiteManager.

Namespace

Drupal\single_page_site\Manager

Code

public function getSmoothScrolling() {
  return $this->settings
    ->get('smoothscrolling');
}