You are here

public function SinglePageSiteManager::getDistanceUp 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::getDistanceUp()
  2. 2.0.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getDistanceUp()

Returns distance up.

Return value

array|mixed|null Returns the DistanceUp.

File

src/Manager/SinglePageSiteManager.php, line 133

Class

SinglePageSiteManager
Class SinglePageSiteManager.

Namespace

Drupal\single_page_site\Manager

Code

public function getDistanceUp() {
  return $this->settings
    ->get('up');
}