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.
Changed translation function on $ this->t()
Comment | File | Size | Author |
---|---|---|---|
#3 | changed_translation-2854353-3.patch | 4.13 KB | purushotam.rai |
auto_entitylabel_t.patch | 3.27 KB | pifagor | |
Comments
Comment #2
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedPatch is working fine
Comment #3
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedFurther Improvements
Comment #5
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedThanks for all your input.
Comment #6
Peacog CreditAttribution: Peacog as a volunteer commentedThis commit introduced a bug at this line:
'#description' => $this->$this->t('Put PHP code above that returns your string, but make sure you surround code in <code><?php
and?>
. Note that$entity
and$language
are available and can be used by your code.'),The latest patch at #2755445: Auto Entity label does not set entity labels and breaks contrib modules fixes it
Comment #9
pifagor