Tan Nguyen

Tan Nguyen

Drupal Developer


Recent Articles

Thumbnail

Create custom local tasks - P1

Tan Nguyen

|

In Drupal, local tasks are menu tabs or action links that appear as part of a menu tab on a page. These tasks are often used to represent various operations or sub-pages within a module. Local tasks are generally placed directly above content on pages(up to two levels), but can be dynamically positioned as a block. These are mostly used on administrative pages but frontend pages like user pages or the registration/login/new password pages also use local tasks. To create custom local tasks in Drupal, you can follow these general steps:

old wagon with signs in it

Create a custom breadcrumb builder in Drupal 9

Tan Nguyen

|

In Drupal 9, you can create a custom breadcrumb builder by defining a custom module and implementing the necessary hooks and services. Breadcrumbs are used to navigate through the hierarchy of content on a Drupal site. Here's a step-by-step guide to creating a custom breadcrumb builder.

Curated ear

Create a custom token in Drupal 9

Tan Nguyen

|

Creating a custom token in Drupal 9 involves defining a new token using a custom module. Tokens are placeholders that can be replaced with dynamic content when used in various parts of your site, such as in text formats, emails, or node templates. Here's a step-by-step guide to creating a custom token