public function LoginDestinationManagerInterface::findDestination in Login Destination 8.2
Same name and namespace in other branches
- 8 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 Returns either FALSE or a LoginDestination object.
1 method overrides LoginDestinationManagerInterface::findDestination()
- LoginDestinationManager::findDestination in src/
LoginDestinationManager.php - Find destination.
File
- src/
LoginDestinationManagerInterface.php, line 24
Class
- LoginDestinationManagerInterface
- Defines a login destination manager service interface.
Namespace
Drupal\login_destinationCode
public function findDestination($trigger, AccountInterface $account);