public function UpdateHelper::keyCheck in Evercurrent 8
Same name and namespace in other branches
- 8.2 src/UpdateHelper.php \Drupal\evercurrent\UpdateHelper::keyCheck()
Parameters
$key:
Return value
bool
3 calls to UpdateHelper::keyCheck()
- UpdateHelper::sendUpdates in src/
UpdateHelper.php - Send updates to the Maintenance server.
- UpdateHelper::setKey in src/
UpdateHelper.php - Check a key and set it if valid.
- UpdateHelper::testUpdate in src/
UpdateHelper.php - Test sending an update to the server.
File
- src/
UpdateHelper.php, line 176 - Contains Drupal\evercurrent\UpdateHelper.
Class
- UpdateHelper
- Class UpdateHelper.
Namespace
Drupal\evercurrentCode
public function keyCheck($key) {
return is_string($key) && preg_match(RMH_MD5_MATCH, $key);
}