Noida
Account created on 8 March 2016, over 9 years ago
#

Recent comments

🇮🇳India jeetmail72 Noida

Added SQL query to find list of cache tables and disable other cache bins to keep cache data.

🇮🇳India jeetmail72 Noida

Adding the defer tag instead of deferjs

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

A patch has been added to the 11.0.1 release.

🇮🇳India jeetmail72 Noida

Added patch for the Drupal 11 compatibility

🇮🇳India jeetmail72 Noida

jeetmail72 made their first commit to this issue’s fork.

🇮🇳India jeetmail72 Noida

jeetmail72 changed the visibility of the branch 3521706-cannot-load-the to hidden.

🇮🇳India jeetmail72 Noida

I fixed the issue and adding the patch here.

🇮🇳India jeetmail72 Noida

Remove the duplicate string 'added' from the 'The CSRF token is not added when the URL object is rendered.'

🇮🇳India jeetmail72 Noida

Set menu weight

🇮🇳India jeetmail72 Noida

Adding related content

🇮🇳India jeetmail72 Noida

Added $query->accessCheck(FALSE) for the entityQuery() and entityTypeManager() query.

🇮🇳India jeetmail72 Noida

Replace $selector from the CloseModalDialogCommand()

$response->addCommand(new CloseModalDialogCommand($selector, $persist));

with

$response->addCommand(new CloseModalDialogCommand($persist));

🇮🇳India jeetmail72 Noida

Replace DerivativeBase with DeriverBase under Dynamic contextual link generation section

🇮🇳India jeetmail72 Noida

Replace depreciated service path.alias_manager with path_alias.manager

Added drush devel-services to view available services in the Drupal 10+

🇮🇳India jeetmail72 Noida

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
 

🇮🇳India jeetmail72 Noida

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.

🇮🇳India jeetmail72 Noida

Remove  implements BlockPluginInterface when extending the BlockBase class. The BlockBase class itself implements BlockPluginInterface.

I added an Example of cache context code snippets. 

🇮🇳India jeetmail72 Noida

 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';

 

🇮🇳India jeetmail72 Noida

Replaced

<a href="{{ url('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo"></a>

with

{% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}

🇮🇳India jeetmail72 Noida

Replaced twig_debug to debug and twig_auto_reload to auto_reload

🇮🇳India jeetmail72 Noida

Added code to disable all Drupal cache bins and cache.backend.null services into services.yml file

🇮🇳India jeetmail72 Noida

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.

🇮🇳India jeetmail72 Noida

The changes are deployed in the release of 1.0.7

🇮🇳India jeetmail72 Noida

I applied the patch and it is working fine in the Drupal 10.2 version

🇮🇳India jeetmail72 Noida

The changes are deployed in the release of 1.0.7

🇮🇳India jeetmail72 Noida

The changes are deployed in the release of 1.0.7

🇮🇳India jeetmail72 Noida

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'];

🇮🇳India jeetmail72 Noida

I apply the patch and test the functionality. It is working as expected

🇮🇳India jeetmail72 Noida

I apply the patch and test the functionality. It is working as expected

🇮🇳India jeetmail72 Noida

The patch was added to 1.0.6 release

🇮🇳India jeetmail72 Noida

I apply the patch and test the functionality. It is working as expected

🇮🇳India jeetmail72 Noida

I apply the patch and test the functionality. It is working as expected

🇮🇳India jeetmail72 Noida

I apply the patch and test the functionality. It is working as expected

🇮🇳India jeetmail72 Noida

Replace sucj with such

Running and coding with native Windows applications such as WAMPXAMPP or easyphp is also possible but adds even more limitations such as limited shell, file encoding, line ending, unavailability of Drush, slowness etc..

Production build 0.71.5 2024