public function Counter::disableSet in Purge 8.3
Disable the possibility of setting counter.
@warning This works self-destructive! Once called, it cannot be enabled again.
Overrides CounterInterface::disableSet
File
- src/
Counter/ Counter.php, line 71
Class
- Counter
- Provides a numeric counter.
Namespace
Drupal\purge\CounterCode
public function disableSet() {
$this->permissionSet = FALSE;
}