Only adds support for D11.

Issue fork standalone-3565722

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

steveoriol created an issue. See original summary.

malcomio’s picture

Status: Needs review » Fixed

Thanks

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

steveoriol’s picture

Ahrr, there's a mistake in the merge version, it should be “2.0.x” and not “8.x-1.x.”

steveoriol’s picture

Version: 2.0.0-alpha1 » 2.0.0-alpha3
Status: Fixed » Needs work

This time, the only modification to “standalone.info.yml” does not work for Drupal 11.

drush cr
PHP Fatal error:  Trait "Symfony\Component\DependencyInjection\ContainerAwareTrait" not found in /var/www/html/web/modules/contrib/standalone/src/Controller/StandaloneContent.php on line 20

Fatal error: Trait "Symfony\Component\DependencyInjection\ContainerAwareTrait" not found in /var/www/html/web/modules/contrib/standalone/src/Controller/StandaloneContent.php on line 20
 [warning] Drush command terminated abnormally.
Failed to run drush cr: exit status 1

The module uses an obsolete Symfony trait, ContainerAwareTrait, which was removed in Symfony 7.1 (used by Drupal 11). This prevents drush cr from working because the file /web/modules/contrib/standalone/src/Controller/StandaloneContent.php (line 20) can no longer find this dependency...