You are here

public property InstallablePluginTrait::$version in Markdown 8.2

The installed version.

Note: by default, if this property isn't explicitly set and the plugin identifier contains a forwards slash (/), it will be treated as a Composer vendor/package identifier and will be passed to \Drupal\markdown\Util\Composer::getInstalledVersion to retrieve the installed version. Otherwise, an explicit value must be passed here or reference a defined constant or callable that will be invoked to use the return value as its value.

Type: string

See also

\Drupal\markdown\Util\Composer::getInstalledVersion()

File

src/Annotation/InstallablePluginTrait.php, line 131

Class

InstallablePluginTrait
Trait for adding installable plugin properties to annotations.

Namespace

Drupal\markdown\Annotation

Code

public $version;