You are here

protected property YamlDiscovery::$translatableProperties in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php \Drupal\Core\Plugin\Discovery\YamlDiscovery::translatableProperties
  2. 9 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php \Drupal\Core\Plugin\Discovery\YamlDiscovery::translatableProperties

Contains an array of translatable properties passed along to t().

Type: array

See also

\Drupal\Core\Plugin\Discovery\YamlDiscovery::addTranslatableProperty()

File

core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php, line 39

Class

YamlDiscovery
Allows YAML files to define plugin definitions.

Namespace

Drupal\Core\Plugin\Discovery

Code

protected $translatableProperties = [];