New answers tagged

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', '...
Matoeil's user avatar
  • 3,359
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 ...
Daniel Arnzen's user avatar
1 vote

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 ...
apaderno's user avatar
  • 97k
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.
user3108268's user avatar
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
mbomb007's user avatar
  • 516

Top 50 recent answers are included