I searched the entire Internet, but could not find an answer, why the output of any tokens (not just custom ones) is not supported if they are inserted into the text area created through a file theme-settings.php

	$form['navbar']['navbar_phone']['navbar_phone_title'] = array(
		'#type' => 'text_format',
		'#base_type' => 'textarea',
		'#title' => t('Phone'),
		'#default_value' => theme_get_setting('navbar_phone_title')['value'],
		'#format' =>  theme_get_setting('navbar_phone_title')['format'],
		'#description' => t('Input phone number +7 (495) 003-01-00'),
		'#weight' => 10,
	);

There is a standard filter supporting the output of tokens.

CommentFileSizeAuthor
c4mumnZCRtE.jpg30.75 KBTheJoker
ugq2MrFPZEs.jpg45.3 KBTheJoker

Comments

TheJoker created an issue.

Titus Rukenya’s picture

I'm searching for the same thing. Did you manage to solve this.