protected function databaseRestoreOptions()
    {
        $options = [];

        if ($this->getProjectVersion() >= 8 && $this->hasDrupalConfig()) {
            $options[] = 'site-config';
        }
        $options[] = 'database-import';

        /** @var DrupalPlatformRestoreInterface $platform */
        $platform = $this->getPlatformInstance();

        if ($platform instanceof DrupalPlatformRestoreInterface) {
            $options = array_merge($options, $platform->drupalRestoreOptions());
        }

        return $options;
    }
protected function databaseRestoreOptions()
    {
        $options = [];

        if ($this->getProjectVersion() >= 8 && $this->hasDrupalConfig()) {
            $options[] = 'site-config';
        }
        $options[] = 'database-import';

        /** @var DrupalPlatformRestoreInterface $platform */
        $platform = $this->getPlatformInstance();

        if ($platform instanceof DrupalPlatformRestoreInterface) {
            $options = array_merge($options, $platform->drupalRestoreOptions());
        }

        return $options;
    }
protected function databaseRestoreOptions ( ) { $ options = [ ] ; if ( $ this -> getProjectVersion ( ) >= 8 && $ this -> hasDrupalConfig ( ) ) { $ options [ ] = 'site-config' ; } $ options [ ] = 'database-import' ; /** @var DrupalPlatformRestoreInterface $platform */ $ platform = $ this -> getPlatformInstance ( ) ; if ( $ platform instanceof DrupalPlatformRestoreInterface ) { $ options = array_merge ( $ options , $ platform -> drupalRestoreOptions ( ) ) ; } return $ options ; }
Drupal database restore options.

@return array
Drupal database restore options .