Currently the table fields of type "callback" can only be used with simple function as "render_callback".

The "call_user_func()" accepts any callable for the $callback parameter. This can be used with static methods on the inline entity form controller in order to have a cleaner and more structured code.

CommentFileSizeAuthor
#2 inline_entity_form-allow_any_callable_for_render_callback-2564887.1.patch662 bytesAnonymous (not verified)

Comments

Anonymous’s picture

SchnWalter created an issue. See original summary.

Anonymous’s picture

Anonymous’s picture

Status: Active » Needs review

  • bojanz committed 55c55c3 on 7.x-1.x authored by SchnWalter
    Issue #2564887 by SchnWalter: Allow any PHP callable as "render_callback...
bojanz’s picture

Category: Support request » Feature request
Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.