Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the PHP Evaluation dropdown it says:
"PHP code inside of
delimiters will be evaluated and replaced by its output. E.g. <? echo 1+1?> will be replaced by 2. Furthermore you can make use of the following variables:"
Under the php field it says
"The code that should be executed. Don't include
delimiters."
Which one should I believe?
Comments
Comment #1
fagoBoth apply - indeed that is confusing ;) I guess you are talking about the CCK form.
Perhaps we should just hide the help of the PHP evaluator in that case or choose a wording to make it clear?
Comment #2
giorgio79 CreditAttribution: giorgio79 commentedHiding the one that does not apply should be good enough imho :)
Comment #3
TR CreditAttribution: TR commented