interface LoginDestinationManagerInterface in Login Destination 8.2
Same name and namespace in other branches
- 8 src/LoginDestinationManagerInterface.php \Drupal\login_destination\LoginDestinationManagerInterface
Defines a login destination manager service interface.
Hierarchy
- interface \Drupal\login_destination\LoginDestinationManagerInterface
Expanded class hierarchy of LoginDestinationManagerInterface
All classes that implement LoginDestinationManagerInterface
File
- src/
LoginDestinationManagerInterface.php, line 11
Namespace
Drupal\login_destinationView source
interface LoginDestinationManagerInterface {
/**
* Find destination.
*
* @param string $trigger
* Trigger.
* @param \Drupal\Core\Session\AccountInterface $account
* User account.
*
* @return bool|\Drupal\login_destination\Entity\LoginDestination
* Returns either FALSE or a LoginDestination object.
*/
public function findDestination($trigger, AccountInterface $account);
/**
* Prepare request destination provided by login destination rule.
*
* @param \Drupal\login_destination\Entity\LoginDestination $destination
* Login destination rule.
*/
public function prepareDestination(LoginDestination $destination);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LoginDestinationManagerInterface:: |
public | function | Find destination. | 1 |
LoginDestinationManagerInterface:: |
public | function | Prepare request destination provided by login destination rule. | 1 |