public property InstallableRequirement::$callback in Markdown 8.2
A callback invoked to retrieve the value used to validate the requirement.
Note: this is only used if there have been constraints set to validate.
If a value is not supplied, then the requirement will simply check whether the provider is installed.
If the value is supplied and it isn't callable, it will check whether the provider type is a filter, service, markdown-extension, markdown-library, or markdown-parser and then see if it is a publicly accessible method on the provider's object. Optionally, a method name can be prefixed with a double-colon (::) to ensure no matching static callable function with a similar name is used.
Type: string
File
- src/
Annotation/ InstallableRequirement.php, line 65
Class
- InstallableRequirement
- Markdown Requirement Annotation.
Namespace
Drupal\markdown\AnnotationCode
public $callback;