Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello im trying to reverse the order of a filter put with bef which contains checkboxes of taxonomy term to a content type named news item. The hook i implemented is this:
A bit of context before I come to the question: When we build our site with composer install, we use a proxied repository instead of using Packagist and packages.drupal.org directly. This is a recommended approach to protect against Dependency Chain Abuse (Source: OWASP - "CICD-SEC-3: Dependency Chain Abuse"). One Drupal-Module we use has specified patches for a different module and for core in its composer.json file.
Hello, i am fairly new to Drupal and i just started experimenting with module development. I want to check sticky on top of lists option by default when creating a Basic Page and i've tried different codes for it but it did not work. Hiding and removing the field from the form are working just fine. i have also tried:
On a freshly installed Drupal 10.2.1 installation, this leads to an empty edit field in admin/config/media/file-system. Because of that, you can't save the form (mandatory field) to save other options.
When searching online I have seen multiple answers to this question and I wondered if anyone could tell me the correct way? php.ini? cpanel? Drupal configuration? Apologies for such as basic question but I'm learning. Thanks!
I have created a Rest API to create a user after success full user creation created CSRF token for the further user access. created csrf token using below core functions. using get() - function i am able to get a csrf token.
public function get($value = '') {