By default Drupal stores all configuration into database. Below example shows how to remove / delete configuration object of 'automated_cron.settings', i.e. remove cron settings.
As a developer we always been into position where we need to write a custom script which bootstrap's Drupal Core from code and do some operations. This is pretty straight forward when working single site.
Suppose we've file name (with extension) as part of string and while displaying to users we want to replace file extension from string.
Here's how we can do this:
Note: Make sure you're enabling this only on development server.
It's very common for any developers to make a mistake while developing, which will result in White Screen of Death (WSOD).
Today we're going to see how we can retrieve the payment method settings when ever we required. The payment methods are used to accept the payments from user during Checkout process.
Views one of the great module available in Drupal. Views can be used to show various types of dynamic data and can also be used to allow users to filter results based on his criteria.
The last project I was working on was having a requirement hiding the file URL in browser, for security reason. The file was actually PDF file and was containing user's order data.