Added $query->accessCheck(FALSE)
for the entityQuery() and entityTypeManager() query.
Replace $selector from the CloseModalDialogCommand()
$response->addCommand(new CloseModalDialogCommand($selector, $persist));
with
$response->addCommand(new CloseModalDialogCommand($persist));
Replace DerivativeBase
with DeriverBase
under Dynamic contextual link generation section
Replace depreciated service path.alias_manager
with path_alias.manager
Added drush devel-services
to view available services in the Drupal 10+
Correct the order of cache context. The cache contexts are listed in the order of alphabetical.
foo:bar:[languages:language_interface]=en:[user.permissions]=A_QUITE_LONG_HASH:[route]=myroute.ROUTE_PARAMS_HASH
replace with
foo:bar:[languages:language_interface]=en:[route]=myroute.ROUTE_PARAMS_HASH:[user.permissions]=A_QUITE_LONG_HASH
By convention, they are of the form thing:identifier
— and when there's no concept of multiple instances of a thing, it is of the form thing
. The only rule is that it cannot contain spaces.
Replace with below to simply the concept
By convention, identifiers follow the format thing:identifier
. When there is no concept of multiple instances of a thing, the format is simply thing
. The only rule is that identifiers cannot contain spaces.
Remove implements BlockPluginInterface when extending the BlockBase class. The BlockBase class itself implements BlockPluginInterface.
I added an Example of cache context code snippets.
The drupal_get_path() deprecated in Drupal 9.3.
Replace the deprecated code with the Drupal service.
$path = drupal_get_path('module', 'your_module') . '/templates/email-table.html.twig';
with
$modulePath = \Drupal::service('extension.path.resolver')->getPath('module', 'learning');
$path = $modulePath . '/templates/email-table.html.twig';
Replaced
<a href="{{ url('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo"></a>
with
{% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}
Replaced twig_debug to debug and twig_auto_reload to auto_reload
Added code to disable all Drupal cache bins and cache.backend.null services into services.yml file
Before:
In order to set the default value for any form element , you’ll need to add a config/install/THEME.settings.yml file with a simple line: SETTING_NAME: DEFAULT_VALUE.
After
In order to set the default value for any form element you add, you’ll need to add a config/install/THEME.settings.yml file with a simple line: SETTING_NAME: DEFAULT_VALUE.
The changes are deployed in the release of 1.0.7
I applied the patch and it is working fine in the Drupal 10.2 version
The changes are deployed in the release of 1.0.7
The changes are deployed in the release of 1.0.7
Added some more possible cache bins
$cache_bins = array('bootstrap','config','data','default','discovery','dynamic_page_cache','entity','menu','migrate','render','rest','static','toolbar');
replace with
$cache_bins = ['bootstrap', 'config', 'data', 'default', 'discovery', 'discovery_migration', 'dynamic_page_cache', 'entity', 'jsonapi_memory', 'jsonapi_normalizations', 'jsonapi_resource_types', 'menu', 'migrate', 'page', 'render', 'rest', 'static', 'toolbar'];
The issue has been fixed
I apply the patch and test the functionality. It is working as expected
The patch was added to 1.0.6 release
The patch was added to 1.0.6 release
I apply the patch and test the functionality. It is working as expected
The patch was added to 1.0.6 release
I apply the patch and test the functionality. It is working as expected
The patch was added to 1.0.6 release
I apply the patch and test the functionality. It is working as expected
The patch was added into 1.0.6 release
I apply the patch and test the functionality. It is working as expected
Linking it to the Drupal State static function https://api.drupal.org/api/drupal/core%21lib%21Drupal.php/function/Drupa...
I have deployed the changes in our current release
I have deployed the changes in our current release
We have deployed the changes in our current release
I tested the patch and it is working fine.
I tested the patch and it is working fine.
I tested the patch and it is working fine.
Add an example to generate & validate tokens into URL implicitly.
Added example for adding access check login into Controller Content method.
Replace the broken link of ControllerResolver and some sentence corrections.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Controlle...
to
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Controlle...
Removed the js/common.js, js/jquery.noty.min.js and js/jquery-migrate-3.3.2.min.js files from the food.libraries.yml file.
Please review the patch.
jeetmail72 → created an issue.
Removed the font-awesome.min.css file from the classic_corporate_drupal_8_theme.libraries.yml file.
Please review the patch.
jeetmail72 → created an issue.
To make the code more readable, I removed the extra if conditions and format the code.
The changes are deployed in the new release
I checked with Drupal 10.2 and it is working fine with colorbox modules.
Issue fixed
The changes are merged and deployed. Thanks @Anjali @kenyoOwen
Thank you so much @apaderno
I removed the README.txt file and added a patch. Please review.
jeetmail72 → created an issue.
I removed the deprecated function db_field_exists and fixed Drupal coding issues
I added a patch to fix the Config Export & Config Import issue and fix some naming convention.
Patch merged and deployed
I fixed the all issues.
jeetmail72 → created an issue.
Replace below line
First we'll add code to the for build code so the text field is populated with the value form the select field.
with
First, we will add a code to create a textfield that will be updated when the user selects an item from the select field.
Url::fromPath('/blog');
It should be replaced with Url::fromUserInput('/blog');
or Url::fromUri('internal:/blog');
Url::fromPath('/admin/structure/contact');
It should be replaced with Url::fromUserInput('/admin/structure/contact');
or Url::fromUri('internal:/admin/structure/contact');
Added drush generate controller command and Replace "Find more details about generate:controller here" link https://drupalconsole.com/docs/en/commands/generate-controller
Remove to from the State is written to using the set()
method. string.
Updated string:
State is written using the set()
method. To write a state value, just provide the key and the value.
Added Drupal 10 support
Drupal 10 support added.
@vinaymahale I set the latest as the default branch.
@apaderno I fixed the issues as you mentioned in the comments. I used the custom table to keep the configuration independent but in the future, I will use Config Entity instead of the custom table.
@Bhupesh, The changes are committed.
@Carlitus, I committed the patch.
@netsliver, The module is already compatible with Drupal 10. Please download latest version.
@apaderno I am looking the points raised by you.
Please review and grant the security advisory policy.
Hi apaderno,
Sorry for the delayed reply.
Please find the branch name: 10.0.x
msn5158 you can create custom tokens and use them.
Please update once it is fixed and working.
Correct the namespace of ContentEntityBase class
Drupal\Core\Config\Entity\ContentEntityBase
To
Drupal\Core\Entity\ContentEntityBase