public function Counter::disableDecrement in Purge 8.3
Disable the possibility to decrement the counter.
@warning This works self-destructive! Once called, it cannot be enabled again.
Overrides CounterInterface::disableDecrement
3 calls to Counter::disableDecrement()
- TotalFailedStatistic::__construct in src/
Plugin/ Purge/ Queue/ TotalFailedStatistic.php - Construct a counter object.
- TotalNotSupportedStatistic::__construct in src/
Plugin/ Purge/ Queue/ TotalNotSupportedStatistic.php - Construct a counter object.
- TotalSucceededStatistic::__construct in src/
Plugin/ Purge/ Queue/ TotalSucceededStatistic.php - Construct a counter object.
File
- src/
Counter/ Counter.php, line 57
Class
- Counter
- Provides a numeric counter.
Namespace
Drupal\purge\CounterCode
public function disableDecrement() {
$this->permissionDecrement = FALSE;
}