You are here

public function FlippingBookForm::getUploadLocation in Flipping Book 8

Get upload location.

Return value

string The Flipping Book upload location.

3 calls to FlippingBookForm::getUploadLocation()
FlippingBookForm::buildForm in src/Form/FlippingBookForm.php
Form constructor.
FlippingBookForm::handleArchive in src/Form/FlippingBookForm.php
Handle uploaded archive.
FlippingBookForm::prepareExport in src/Form/FlippingBookForm.php
Prepare export.

File

src/Form/FlippingBookForm.php, line 132

Class

FlippingBookForm
Form controller for Flipping Book edit forms.

Namespace

Drupal\flipping_book\Form

Code

public function getUploadLocation() {
  if (!isset($this->location)) {
    $this
      ->setUploadLocation();
  }
  return $this->location;
}