Issue #3122871 by crmn, Ruuds, BramDriesen: Analyze frontend theme and view mode output
This commit falls back to the default front-end theme by default, even if content is edited within the context of the admin theme. It also provides a per-form configuration to change this. While we're doing the plumbing for the theme we do a similar plumbing for the view mode which was an open todo. The default view mode is changed from `full` to `default` since that's the Drupal default view mode and `full` is not always available.
parent
94876cda
No related branches found
No related tags found
Showing
- phpcs.xml 4 additions, 2 deletionsphpcs.xml
- src/EntityAnalyser.php 52 additions, 7 deletionssrc/EntityAnalyser.php
- src/Form/AnalysisFormHandler.php 5 additions, 1 deletionsrc/Form/AnalysisFormHandler.php
- src/Plugin/Field/FieldWidget/YoastSeoWidget.php 51 additions, 2 deletionssrc/Plugin/Field/FieldWidget/YoastSeoWidget.php
- tests/features/theme-configuration.feature 52 additions, 0 deletionstests/features/theme-configuration.feature
- tests/src/Context/Entity.php 3 additions, 0 deletionstests/src/Context/Entity.php
- tests/src/Context/Setup.php 27 additions, 0 deletionstests/src/Context/Setup.php
- tests/src/Kernel/EntityAnalyserTest.php 1 addition, 5 deletionstests/src/Kernel/EntityAnalyserTest.php
- themes/yoast_seo_test_theme/templates/node.html.twig 106 additions, 0 deletionsthemes/yoast_seo_test_theme/templates/node.html.twig
- themes/yoast_seo_test_theme/yoast_seo_test_theme.info.yml 6 additions, 0 deletionsthemes/yoast_seo_test_theme/yoast_seo_test_theme.info.yml
Loading
Please register or sign in to comment