You are here

public function LoginDestinationManagerInterface::findDestination in Login Destination 8

Same name and namespace in other branches
  1. 8.2 src/LoginDestinationManagerInterface.php \Drupal\login_destination\LoginDestinationManagerInterface::findDestination()

Find destination.

Parameters

string $trigger: Trigger.

\Drupal\Core\Session\AccountInterface $account: User account.

Return value

bool|\Drupal\login_destination\Entity\LoginDestination

1 method overrides LoginDestinationManagerInterface::findDestination()
LoginDestinationManager::findDestination in src/LoginDestinationManager.php
Find destination.

File

src/LoginDestinationManagerInterface.php, line 23

Class

LoginDestinationManagerInterface
Defines a login destination manager service interface.

Namespace

Drupal\login_destination

Code

public function findDestination($trigger, AccountInterface $account);