You are here

public function LoginDestination::getPagesType in Login Destination 8

Same name and namespace in other branches
  1. 8.2 src/Entity/LoginDestination.php \Drupal\login_destination\Entity\LoginDestination::getPagesType()

Get Type of pages:

  • 0: all pages except listed pages.
  • 1: only listed pages.

Return value

int Type of pages.

Overrides LoginDestinationInterface::getPagesType

File

src/Entity/LoginDestination.php, line 178

Class

LoginDestination
Defines a login destination configuration entity.

Namespace

Drupal\login_destination\Entity

Code

public function getPagesType() {
  return $this->pages_type;
}