Drupal is a registered trademark of Dries Buytaert
Release: Entity API 8.x-1.8 Minor update available for module entity (8.x-1.8). Release: Module Filter 6.0.0 Major update available for module module_filter (6.0.0). Release: Blazy 3.0.19 Minor update available for module blazy (3.0.19). Release: Slick Carousel 3.0.8 Minor update available for module slick (3.0.8). Release: Blazy 3.0.18 Minor update available for module blazy (3.0.18). Release: Extra Paragraph Types (EPT): Core 2.0.1 Minor update available for module ept_core (2.0.1). Release: AI (Artificial Intelligence) 1.5.0-rc2 New release candidate for module ai (1.5.0-rc2). Release: SDC Components 1.0.10 Minor update available for module sdc_components (1.0.10). Module Revived: Content Moderation Notifications 8.x-3.9 Module content_moderation_notifications updated after 10 months of inactivity (8... Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

This module enables you to show or hide a Drupal block based on the type of device a visitor is using, such as a smartphone, tablet, or laptop.

Features

When a block is set to be hidden, it won’t be rendered or sent to the user’s device. This reduces the site’s load, making it more efficient and lightweight compared to simply hiding a block through your theme.

Post-Installation

After installing the module, navigate to the Block Layout page at https://yoursite.com/admin/structure/block. From there, configure the visibility settings for any block you want to show or hide depending on the device type.

Additional Requirements

This module relies on the mobiledetect/mobiledetectlib library to identify the user’s device type.

Similar projects

The Mobile Detect Block module offers similar functionality, but it is compatible only with Drupal 7 and is no longer maintained.

Activity

Tracked releases
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0 Stable Feb 27, 2025