function DeleteMultiple::getInaccessibleMessage

Same name in other branches
  1. 9 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getInaccessibleMessage()
  2. 10 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getInaccessibleMessage()
  3. 11.x core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getInaccessibleMessage()

Overrides DeleteMultipleForm::getInaccessibleMessage

File

core/modules/node/src/Form/DeleteMultiple.php, line 32

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\node\Form

Code

protected function getInaccessibleMessage($count) {
    return $this->formatPlural($count, "@count content item has not been deleted because you do not have the necessary permissions.", "@count content items have not been deleted because you do not have the necessary permissions.");
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.