New answers tagged 7
0
votes
How can I export all webform structures?
node export is a first option
it gives
array(
(object) array(
'vid' => '3593',
'uid' => '1',
'title' => 'test',
'log' => '',
'status' => '1',
'...
0
votes
How do I clear settings from the Drupal object?
I realize this is a very old question, but I had to figure this out recently when using the plotly_js library to make charts.
/**
* pos_charts_clear
*
* The js settings don't get reset as forms are ...
1
vote
Accepted
Permissions to edit user field data, but not fields itself
On Drupal 7, the permission to access admin/config/people/accounts is the same permission that allows to edit every account created on the site. The permission is returned by user_entity_info(), a ...
0
votes
Permissions to edit user field data, but not fields itself
Solved with Rules.
Action: Drupal is initializing
Condition: Text Comparison or Data Comparison, put in the URL path
Action: Page redirect.
0
votes
How to prevent adding of duplicate item to Drupal Queue?
Create a class (or you can put it in the .module file if you want):
/**
* Custom queue implementation to merge on creation, preventing duplicates.
*
* See https://www.webomelette.com/overriding-...
Top 50 recent answers are included
Related Tags
7 × 26479views × 4472
theming × 2742
entities × 2666
nodes × 2395
users × 2154
forms × 2093
taxonomy-terms × 1120
database × 1023
javascript × 995
rules × 929
commerce × 922
hooks × 877
media × 859
ajax × 830
blocks × 811
files × 799
routes × 711
webforms × 619
i18n-l10n × 556
search × 540
emails × 466
navigation × 403
datetime × 401
panels × 375