How can I have a custom module checked for deprecated functions?How can I list all Twig functions and filters with their description?How can I verify email addresses?Do i need to worry about using deprecated functions in Drupal 8?getFieldDefinitions on Drupal 8 (why all these deprecated functions on DP8?)How can I include some functions globally?How to set page variable from custom moduleCreate custom theme for moduleHow to call preprocess functions from my custom module
Why didn't Doc believe Marty was from the future?
What ways are there to "PEEK" memory sections in (different) BASIC(s)
Template factorial function without template specialization
Should I ask for a raise one month before the end of an internship?
Notice period 60 days but I need to join in 45 days
Why is 3/4 a simple meter while 6/8 is a compound meter?
Inspiration for failed idea?
Why is there not a willingness from the world to step in between Pakistan and India?
Are spot colors limited and why CMYK mix is not treated same as spot color mix?
Heat output from a 200W electric radiator?
Is Nikon D500 a good fit for nature and ambient-lighting portraits and occasional other uses?
Which polygons can be turned inside out by a smooth deformation?
What is the sound/audio equivalent of "unsightly"?
Did the Apollo Guidance Computer really use 60% of the world's ICs in 1963?
Did ancient peoples ever hide their treasure behind puzzles?
Do multi-engine jets need all engines with equal age to reduce asymmetry in thrust and fuel consumption arising out of deterioration?
What should be done with the carbon when using magic to get oxygen from carbon dioxide?
Whip it like Indy
If the UK Gov. has authority to cancel article 50 notification, why do they have to agree an extension with the EU
Why did the population of Bhutan drop by 70% between 2007 and 2008?
Find feasible point in polynomial time in linear programming
How could a self contained organic body propel itself in space
How to say "I only speak one language which is English" in French?
Is there a better way to use C# dictionaries than TryGetValue?
How can I have a custom module checked for deprecated functions?
How can I list all Twig functions and filters with their description?How can I verify email addresses?Do i need to worry about using deprecated functions in Drupal 8?getFieldDefinitions on Drupal 8 (why all these deprecated functions on DP8?)How can I include some functions globally?How to set page variable from custom moduleCreate custom theme for moduleHow to call preprocess functions from my custom module
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I created a custom module in Drupal 8 for a specific purpose.
How can I find out if it contains any deprecated functions?
8
add a comment |
I created a custom module in Drupal 8 for a specific purpose.
How can I find out if it contains any deprecated functions?
8
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46
add a comment |
I created a custom module in Drupal 8 for a specific purpose.
How can I find out if it contains any deprecated functions?
8
I created a custom module in Drupal 8 for a specific purpose.
How can I find out if it contains any deprecated functions?
8
8
edited Aug 16 at 10:50
leymannx
8,3205 gold badges36 silver badges70 bronze badges
8,3205 gold badges36 silver badges70 bronze badges
asked Aug 16 at 10:22
Rahulmon JohnsonRahulmon Johnson
243 bronze badges
243 bronze badges
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46
add a comment |
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46
add a comment |
1 Answer
1
active
oldest
votes
Read Dries Buytaert's blog post on How to prepare for Drupal 9
drupal-check
If you work on a Drupal site as a developer, run
drupal-check
. Matt
Glaman (Centarro) developed a static PHP analysis tool called
drupal-check
, which you can run against your codebase to check for
deprecated code. I recommend runningdrupal-check
in an automated
fashion as part of your development workflow.
Link: https://github.com/mglaman/drupal-check
Upgrade Status
If you are a site owner, install the Upgrade Status module. This
module was built by Acquia. The module provides a graphical user
interface on top ofdrupal-check
. The goal is to provide an
easy-to-use readiness assessment for your site's migration to Drupal
9.
Link: https://drupal.org/project/upgrade_status
Maybe also learn the background info of drupal-check
reading Matt Glaman's blog post about Testing your Drupal code base for deprecated code usage with PHPStan.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "220"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdrupal.stackexchange.com%2fquestions%2f284474%2fhow-can-i-have-a-custom-module-checked-for-deprecated-functions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Read Dries Buytaert's blog post on How to prepare for Drupal 9
drupal-check
If you work on a Drupal site as a developer, run
drupal-check
. Matt
Glaman (Centarro) developed a static PHP analysis tool called
drupal-check
, which you can run against your codebase to check for
deprecated code. I recommend runningdrupal-check
in an automated
fashion as part of your development workflow.
Link: https://github.com/mglaman/drupal-check
Upgrade Status
If you are a site owner, install the Upgrade Status module. This
module was built by Acquia. The module provides a graphical user
interface on top ofdrupal-check
. The goal is to provide an
easy-to-use readiness assessment for your site's migration to Drupal
9.
Link: https://drupal.org/project/upgrade_status
Maybe also learn the background info of drupal-check
reading Matt Glaman's blog post about Testing your Drupal code base for deprecated code usage with PHPStan.
add a comment |
Read Dries Buytaert's blog post on How to prepare for Drupal 9
drupal-check
If you work on a Drupal site as a developer, run
drupal-check
. Matt
Glaman (Centarro) developed a static PHP analysis tool called
drupal-check
, which you can run against your codebase to check for
deprecated code. I recommend runningdrupal-check
in an automated
fashion as part of your development workflow.
Link: https://github.com/mglaman/drupal-check
Upgrade Status
If you are a site owner, install the Upgrade Status module. This
module was built by Acquia. The module provides a graphical user
interface on top ofdrupal-check
. The goal is to provide an
easy-to-use readiness assessment for your site's migration to Drupal
9.
Link: https://drupal.org/project/upgrade_status
Maybe also learn the background info of drupal-check
reading Matt Glaman's blog post about Testing your Drupal code base for deprecated code usage with PHPStan.
add a comment |
Read Dries Buytaert's blog post on How to prepare for Drupal 9
drupal-check
If you work on a Drupal site as a developer, run
drupal-check
. Matt
Glaman (Centarro) developed a static PHP analysis tool called
drupal-check
, which you can run against your codebase to check for
deprecated code. I recommend runningdrupal-check
in an automated
fashion as part of your development workflow.
Link: https://github.com/mglaman/drupal-check
Upgrade Status
If you are a site owner, install the Upgrade Status module. This
module was built by Acquia. The module provides a graphical user
interface on top ofdrupal-check
. The goal is to provide an
easy-to-use readiness assessment for your site's migration to Drupal
9.
Link: https://drupal.org/project/upgrade_status
Maybe also learn the background info of drupal-check
reading Matt Glaman's blog post about Testing your Drupal code base for deprecated code usage with PHPStan.
Read Dries Buytaert's blog post on How to prepare for Drupal 9
drupal-check
If you work on a Drupal site as a developer, run
drupal-check
. Matt
Glaman (Centarro) developed a static PHP analysis tool called
drupal-check
, which you can run against your codebase to check for
deprecated code. I recommend runningdrupal-check
in an automated
fashion as part of your development workflow.
Link: https://github.com/mglaman/drupal-check
Upgrade Status
If you are a site owner, install the Upgrade Status module. This
module was built by Acquia. The module provides a graphical user
interface on top ofdrupal-check
. The goal is to provide an
easy-to-use readiness assessment for your site's migration to Drupal
9.
Link: https://drupal.org/project/upgrade_status
Maybe also learn the background info of drupal-check
reading Matt Glaman's blog post about Testing your Drupal code base for deprecated code usage with PHPStan.
answered Aug 16 at 12:21
leymannxleymannx
8,3205 gold badges36 silver badges70 bronze badges
8,3205 gold badges36 silver badges70 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Drupal Answers!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdrupal.stackexchange.com%2fquestions%2f284474%2fhow-can-i-have-a-custom-module-checked-for-deprecated-functions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Some IDEs can point out when using deprecated class or function e.g. Phpstorm. Also, you can check this repository github.com/mglaman/drupal-check
– Ismail Cherri
Aug 16 at 11:01
This question might be a bit off topic since it depends on which IDE you are using, or if you are using any IDE. If you don't use any smart IDE's you can search manually through your project, here's a list of all deprecated functions in Drupal 8.7. If you are using PHPStorm there is already an answer here.
– Jdrupal
Aug 16 at 11:46