clock_d8

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

A simple module that provides a block showing the current time.
Features

  1. Time zone can be configured as: Site time zone, user time zone, local time zone and custom time zone.
  2. Date format can be configured using the preconfigured "short", "medium" and "long" date types, as well as any custom date types.
  3. The clock can be continuously updated via JavaScript

Redirect to Frontpage

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Small module to redirect Anonymous users to the frontpage of the drupal site. This module redirects all the Anonymous users to the front page when they try to visit any other page except user pages like: user/login, user/register and user/password.

Use case:
1.) If you are building single page app in Drupal and have all the contents in frontpage, you wouldn't want the users to visit node/NODEID, users/1, etc.

2.) You have Intranet site where the user have to login first before accessing any content and the frontpage is by default a login page.

Request Parameter Condition

Component type

module

Maintenance status

Development status

Downloads

114

Component created

Component changed

Tools like Views, Search API, Facets, and more rely on request parameters to process specific types of input. But, this functionality is often limited to whatever the tool itself provides.

One limitation we encountered was the ability to conditionally render logic based on request parameters.

For instance, I may want to display a block conditionally if a page does not have a query parameter "search". This use case works well with the Block Visibility Groups module, except we need a condition for processing these parameters from the request.

DrupalOop

Component type

module

Categories

Maintenance status

Development status

Downloads

160

Component created

Component changed

The DrupalOop module is a simple backend OOP structure for building modules in Drupal 7. The idea is to write modules and other custom Drupal components as PHP Objects as simply as possible. This allows for PHPUnit testing to be more easily applied to Drupal 7 code and provides helper methods for actions that are module specific.

To keep things simple, there is no dependecy on anything Drupal 8. You don't need composer or to know what PSR-4 is. Everything is done using Drupal 7 standards.

Views Display Clone

Component type

module

Maintenance status

Development status

Component created

Component changed

Module is used to Clone Any Display of the View and create a new Display.

TODO:Clone any view displays and create a new display.
Ex: We can clone Data Export view display and create a new View Data Export Display.
At present we are focusing on the below displays to clone and create new displays.

  1. Data Export
  2. Block
  3. Page

Config Removal

Component type

module

Maintenance status

Development status

Component created

Component changed

Multiple configuration destinations are often used to store configuration specific to environment or even to separate on a site-by-site basis.

A common workflow is to leverage "sync" (the default and out-of-the-box configuration destination) as the destination for storing shared/global configuration. Overridden and additional configuration is stored in subsequent configuration destinations. A config import with the "partial" option allows for the secondary destination to bring in only that which is overridden or added.

A deeper dive into this workflow: