You are here

public function LinkCheckerLink::setRequestMethod in Link checker 8

Sets a request method.

Parameters

string $method: The request method.

Return value

$this

Overrides LinkCheckerLinkInterface::setRequestMethod

File

src/Entity/LinkCheckerLink.php, line 111

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function setRequestMethod($method) {
  $this
    ->set('method', $method);
  return $this;
}