You are here

public function BookOutlineStorageInterface::delete in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::delete()
  2. 10 core/modules/book/src/BookOutlineStorageInterface.php \Drupal\book\BookOutlineStorageInterface::delete()

Deletes a book entry.

Parameters

int $nid: Deletes a book entry.

Return value

mixed Number of deleted book entries.

1 method overrides BookOutlineStorageInterface::delete()
BookOutlineStorage::delete in core/modules/book/src/BookOutlineStorage.php
Deletes a book entry.

File

core/modules/book/src/BookOutlineStorageInterface.php, line 69

Class

BookOutlineStorageInterface
Defines a common interface for book outline storage classes.

Namespace

Drupal\book

Code

public function delete($nid);