View for Redirect does not have an entity type set

Created on 18 April 2018, about 7 years ago
Updated 20 May 2025, about 5 hours ago

This issue appears if you're using Views Bulk Operations, but my understanding is if you're going to use hook_views_data() then you need to set the entity type. The warning VBO is throwing.

Base table for Redirect does not have the entity type explicitly set.

The fix is very simple just add

$data['redirect]['table']['entity type'] = 'redirect';

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024