You are here

protected function ActionLinkTypeBase::getDestination in Flag 8.4

Helper method to generate a destination URL parameter.

Return value

string A string containing a destination URL parameter.

3 calls to ActionLinkTypeBase::getDestination()
ActionLinkTypeBase::getAsFlagLink in src/ActionLink/ActionLinkTypeBase.php
Get the action link formatted for use in entity links.
ActionLinkTypeBase::getAsLink in src/ActionLink/ActionLinkTypeBase.php
Get the action link as a Link object.
AJAXactionLink::getDestination in src/Plugin/ActionLink/AJAXactionLink.php
Helper method to generate a destination URL parameter.
1 method overrides ActionLinkTypeBase::getDestination()
AJAXactionLink::getDestination in src/Plugin/ActionLink/AJAXactionLink.php
Helper method to generate a destination URL parameter.

File

src/ActionLink/ActionLinkTypeBase.php, line 156

Class

ActionLinkTypeBase
Provides a base class for all link types.

Namespace

Drupal\flag\ActionLink

Code

protected function getDestination() {
  return $this
    ->getRedirectDestination()
    ->get();
}