Frontpage automatic title: plain pattern instead of PHP
auto_entitylabel 3.x no longer runs PHP in patterns: the pattern
"<?php return t('Home'); ?>" was stripped to an empty title, and saving
the home node (materio_home_cron, every minute) failed with "Column
'title' cannot be null" since September. The title stays automatic and
hidden from editors; the tab title comes from the /home route, translated
by the interface translation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
status: 1
|
status: 1
|
||||||
pattern: "<?php\r\nreturn t('Home');\r\n\r\n?>"
|
pattern: Home
|
||||||
escape: false
|
escape: false
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- node.type.frontpage
|
- node.type.frontpage
|
||||||
new_content_behavior: 1
|
new_content_behavior: 1
|
||||||
php: true
|
php: false
|
||||||
|
|||||||
Reference in New Issue
Block a user