You are here

public function LinkCheckerLink::getRequestMethod in Link checker 8

Gets a request method.

Return value

string The method.

Overrides LinkCheckerLinkInterface::getRequestMethod

File

src/Entity/LinkCheckerLink.php, line 104

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function getRequestMethod() {
  return $this
    ->get('method')->value;
}