Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 May 2009 at 22:25 UTC
Updated:
29 Jul 2014 at 18:15 UTC
Allow site administrators to select whether or not they want a module enabled for particular content types AND for different tabs in that content type - for example disable module altogether for a content type that doesn't use it, or disable module for 'view' tab because it is only needed in edit.
Sounds weird, but could give a high degree of granularity when dealing with developing modules and allow for more precise tuning of a site
Comments
Comment #1
RobertPope commentedfixing a typo
Comment #2
damien tournoud commentedWhat is a "module" for you? I'm not really sure I understand your proposal.
Comment #3
RobertPope commentedenvisionment - adds a tab to each content type that says 'modules' - when clicked you see a list of modules running down the left, the modules that are not used for that node at all are grayed out and unselected. There is a row across the top that says 'view' and 'edit'. You can unselect modules for the content type and they will behave as disabled for that content type or that view of the content type (view or edit).
Comment #4
sun.core commentedPlease provide concrete examples.
Comment #5
mdupontThe right way to do it wouldn't be to pseudo-disable modules by content type, but it is rather either to configure the modules properly, or to alter the way the module works through a custom module (to show / hide elements on the view or edit form). Closing.
Comment #6
mdupont