You are here

public function BookAccessHelper::getAuthorBookAccessDefaults in Book access 1.x

Get the author saved defaults.

File

src/BookAccessHelper.php, line 165

Class

BookAccessHelper
Helper functions for book_access.

Namespace

Drupal\book_access

Code

public function getAuthorBookAccessDefaults() : ?BookAccessDefaultsInterface {
  return $this->entityTypeManager
    ->getStorage('book_access_defaults')
    ->load('book_access_author_defaults');
}