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\DiscoveryCode
protected $translatableProperties = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.