Filter Hooks are very powerful features of wordpress that provide huge amount of flexibility for modifying wordpress, including custom themes and plugins. In this tutorial, I'm just showing a simple example that demonstrates what a filter hook does.
There are four core functions that use when working with filters:
Display modes are one of the core functionalities of Drupal 8. They are easy to create and provides great flexibility in terms of theming at entity viewing and editing level. Display modes are available for content, comment, contact messages, custom blocks, taxonomy terms, users. They are also available to views adding more power to views.
Don't want long forms on your website? Convert it into multi-step form, as it is more convenient and provides step by step procedure to follow by user. This blog will provide a way to create of multi step form using ajax.
Customization is nowadays common in Drupal site. Here you may need to save node programmatically at any time. For saving node programmatically we use node_save() hook which will save the whole node though we want to update only one field.
A Drupal function field_attach_update() will replace node_save() in some way. It will update only that…
A component is a part or identifiable of larger program or construction of web application. A component is a nontrivial, nearly independent, and replaceable part of a system that fulfills a clear function in the context of a well-defined architecture.
Usually, a component provides a particular function or group of related functions.…