public static function FormHelper::isValidChangefreq in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::isValidChangefreq()
- 4.x src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::isValidChangefreq()
Parameters
string $changefreq:
Return value
bool
1 call to FormHelper::isValidChangefreq()
- SimplesitemapCustomLinksForm::validateForm in src/
Form/ SimplesitemapCustomLinksForm.php - Form validation handler.
File
- src/
Form/ FormHelper.php, line 481
Class
- FormHelper
- Class FormHelper @package Drupal\simple_sitemap\Form
Namespace
Drupal\simple_sitemap\FormCode
public static function isValidChangefreq($changefreq) {
return in_array($changefreq, self::$changefreqValues);
}