Problem/Motivation

Error message

User warning: Invalid placeholder (!block) with string: "The Text Resize module creates a block on the page that can be used by your site visitors to quickly and easily adjust the sizing of text as it displays for them. In order to enable the functionality of the Text Resize module, you will need to make sure that you have enabled the Text Resize block on the blocks page. You will also probably want to configure the behavior of the module at the administration pages listed at the bottom of this page." in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 245 of core/lib/Drupal/Component/Render/FormattableMarkup.php).

Steps to reproduce

Clean install of the module on Drupal 10.0.9 with Claro theme

CommentFileSizeAuthor
#4 warning_text_resize.png371.85 KBraveen_thakur51
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kopeboy created an issue. See original summary.

dhruv.mittal’s picture

Can you provide the screenshot because I have installed the module in drupal 10 and I'm not getting any error message

raveen_thakur51 made their first commit to this issue’s fork.

raveen_thakur51’s picture

StatusFileSize
new371.85 KB

Yes, There is a warning on /admin/help/text_resize path. Attaching screenshot as well.
Infact On click of link, It was showing as Page not found

In your code, you're using !block, which was allowed in older versions of Drupal (Drupal 7), but is no longer valid. It needs to be replaced !block with @block or :block.

I have added an MR! , Please review & Thank You

raveen_thakur51’s picture

Status: Active » Needs review
kopeboy’s picture

Status: Needs review » Reviewed & tested by the community

That fixed the issue, thank you!

vitaliyb98’s picture

+1 RTBC

vitaliyb98’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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