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