public function State::getPurgeCredentialsState in Fastly 8.3
Get the state of the Fastly credentials related to Purge functionality.
Get the Drupal state representing whether or not the configured Fastly Api credentials are sufficient to perform all supported purge operations.
Return value
mixed The state of the configured Fastly Api credentials
File
- src/
State.php, line 40
Class
- State
- Tracks validity of credentials associated with Fastly Api.
Namespace
Drupal\fastlyCode
public function getPurgeCredentialsState() {
$state = $this->state
->get(self::VALID_PURGE_CREDENTIALS);
return $state;
}