public function FlippingBook::setDirectory in Flipping Book 8
Sets the Flipping Book directory path.
Parameters
string $path: The Flipping Book directory path.
Return value
\Drupal\flipping_book\Entity\FlippingBookInterface The called Flipping Book entity.
Overrides FlippingBookInterface::setDirectory
File
- src/
Entity/ FlippingBook.php, line 191
Class
- FlippingBook
- Defines the Flipping Book entity.
Namespace
Drupal\flipping_book\EntityCode
public function setDirectory($path) {
$this
->set('directory', $path);
return $this;
}