/** * @param bool|\Concrete\Core\Entity\File\StorageLocation\StorageLocation $location */ public function includeOptionsForm($location = false) { $configuration = $this->getConfigurationObject(); if ($location instanceof \Concrete\Core\Entity\File\StorageLocation\StorageLocation) { $configuration = $location->getConfigurationObject(); } \View::element(DIRNAME_FILE_STORAGE_LOCATION_TYPES . '/' . $this->getHandle(), array('type' => $this, 'location' => $location, 'configuration' => $configuration), $this->getPackageHandle()); }