protected function FlippingBookForm::extractUploadLocation in Flipping Book 8
Extract upload location.
Parameters
\Drupal\flipping_book\Entity\FlippingBook $flippingBook: A Flipping Book entity.
Return value
string The Flipping Book upload location.
File
- src/
Form/ FlippingBookForm.php, line 149
Class
- FlippingBookForm
- Form controller for Flipping Book edit forms.
Namespace
Drupal\flipping_book\FormCode
protected function extractUploadLocation(FlippingBook $flippingBook) {
$flipping_book_type = FlippingBookType::load($flippingBook
->bundle());
return $flipping_book_type
->get('location');
}