protected function installLegacyDatabaseFile(AttributeType $type) { $r = $this->environment->getRecord(DIRNAME_ATTRIBUTES . DIRECTORY_SEPARATOR . $type->getAttributeTypeHandle() . DIRECTORY_SEPARATOR . FILENAME_ATTRIBUTE_DB, $type->getPackageHandle()); if ($r->exists()) { \Concrete\Core\Package\Package::installDB($r->file); } }
public function getAttributeTypeHandle() { return $this->type->getAttributeTypeHandle(); }