Front Page 8.x-1.0-beta1+2-dev
Scanned on Sat, 04/04/2020 - 13:38.
2 errors found. 2 warnings found. Items categorized "Fix now" are uses of
deprecated APIs from community unsupported core versions.
front/front_page.module:
┌─────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├─────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 183 │ Call to deprecated function drupal_render_children(). │
│ │ │ Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. │
│ │ │ Avoid early rendering when possible or loop through the │
│ │ │ elements and render them as they are available. │
│ │ │ │
└─────────┴──────┴──────────────────────────────────────────────────────────────┘
front/src/EventSubscriber/FrontPageSubscriber.php:
┌────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix │ 29 │ Call to deprecated function drupal_installation_attempted(). │
│ later │ │ Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. │
│ │ │ Use │
│ │ │ \Drupal\Core\Installer\InstallerKernel::installationAttempte │
│ │ │ d() instead. │
│ │ │ │
└────────┴──────┴──────────────────────────────────────────────────────────────┘
front/src/Form/FrontPageArrangeForm.php:
┌─────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├─────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 48 │ Call to deprecated method l() of class Drupal. Deprecated in │
│ │ │ drupal:8.0.0 and is removed from drupal:9.0.0. Use │
│ │ │ \Drupal\Core\Link::fromTextAndUrl() instead. │
│ │ │ │
└─────────┴──────┴──────────────────────────────────────────────────────────────┘
front/front_page.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────┤
│ Check │ 0 │ Add <code>core_version_requirement: ^8 || ^9 to │
│ manually │ │ front_page.info.yml to designate that the module is │
│ │ │ compatible with Drupal 9. See │
│ │ │ https://www.drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────┘
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff_2-4.txt | 557 bytes | bunty badgujar |
| #4 | front-3124993-4.patch | 1.79 KB | bunty badgujar |
| #2 | front-3124993-2.patch | 1.82 KB | karishmaamin |
Comments
Comment #2
karishmaamin commentedplease review
Comment #3
shamsher_alam commentedI have check for D9 and it working
Comment #4
bunty badgujar commentedTabs are not correct in above code.
Also, Needs issue summary update as following file is removed from current branch :-
front/src/Form/FrontPageArrangeForm.phpComment #5
oleksandr senenko commentedThank you, committed.
Comment #6
oleksandr senenko commentedComment #7
oleksandr senenko commented