You are here

interface LinkCheckerResponseCodesInterface in Link checker 8

Class LinkcheckerResponseCodes.

@package Drupal\linkchecker

Hierarchy

Expanded class hierarchy of LinkCheckerResponseCodesInterface

All classes that implement LinkCheckerResponseCodesInterface

1 file declares its use of LinkCheckerResponseCodesInterface
LinkCheckerAdminSettingsForm.php in src/Form/LinkCheckerAdminSettingsForm.php

File

src/LinkCheckerResponseCodesInterface.php, line 10

Namespace

Drupal\linkchecker
View source
interface LinkCheckerResponseCodesInterface {

  /**
   * Check if the given HTTP response code is valid.
   *
   * @param int $code
   *   An numeric response code.
   *
   * @return bool
   *   TRUE if the status code is valid, otherwise FALSE.
   */
  public function isValid(int $code);

}

Members

Namesort descending Modifiers Type Description Overrides
LinkCheckerResponseCodesInterface::isValid public function Check if the given HTTP response code is valid. 1