Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 65454

Nodes, comments, taxonomy terms, and users, in the terminology used since Drupal 7, are generally called "entities."

0 votes
1 answer
52 views

Custom module - find out the name of the field

I have written a custom field module and I would like to know how I can programmatically find out what the name of the field in the database. E.g. someone installs my module, that installs a new fiel …
stopopol's user avatar
  • 141
0 votes
Accepted

Custom module - find out the name of the field

OK. I ended up doing it a little differently: In my field_widget_form function I added a hidden field. In this function it is possible to access the $field and therefore the name of the field using …
stopopol's user avatar
  • 141
1 vote
0 answers
145 views

How to integrate custom fields with the Rules module?

I want to integrate the D7 custom field module I wrote with the Rules module so that values can be copied from my custom field to other fields and vice versa. So far I got this function that is defin …
stopopol's user avatar
  • 141
1 vote
1 answer
239 views

Custom widget not rendered within field group

I wrote a custom module that adds a widget. This widget consists of multiple textfields and an ajax button that sends that information to an external service and gets in return and identifier that is …
stopopol's user avatar
  • 141
0 votes
Accepted

Custom widget not rendered within field group

OK. I finally found the problem based on the example code here. The problem was that I constantly used "form" instead of element. Once I had replaced that the rendering was correct. $form['b2share_fi …
stopopol's user avatar
  • 141