You are here

public function Counter::disableIncrement in Purge 8.3

Disable the possibility to increment the counter.

@warning This works self-destructive! Once called, it cannot be enabled again.

Overrides CounterInterface::disableIncrement

File

src/Counter/Counter.php, line 64

Class

Counter
Provides a numeric counter.

Namespace

Drupal\purge\Counter

Code

public function disableIncrement() {
  $this->permissionIncrement = FALSE;
}