You are here

class MarkdownParser in Markdown 8.2

Same name and namespace in other branches
  1. 3.0.x src/Annotation/MarkdownParser.php \Drupal\markdown\Annotation\MarkdownParser

Markdown Parser Annotation.

Hierarchy

Expanded class hierarchy of MarkdownParser

1 file declares its use of MarkdownParser
ParserManager.php in src/PluginManager/ParserManager.php
1 class is annotated with MarkdownParser
CommonMarkGfm in src/Plugin/Markdown/CommonMark/CommonMarkGfm.php
Support for CommonMark GFM by The League of Extraordinary Packages.

File

src/Annotation/MarkdownParser.php, line 10

Namespace

Drupal\markdown\Annotation
View source
class MarkdownParser extends InstallablePlugin {

  /**
   * List of markdown extension plugin identifiers, bundled with the parser.
   *
   * @var string[]
   */
  public $bundledExtensions = [];

  /**
   * A list of extension interface class names.
   *
   * This allows a parser to indicate which extensions belong to it by
   * requiring the extension to implement at least one of these interfaces.
   *
   * @var string[]
   */
  public $extensionInterfaces = [];

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationBase::$class protected property The class used for this annotated class.
AnnotationBase::$id public property The annotated class ID. 1
AnnotationBase::$provider protected property The provider of the annotated class.
AnnotationBase::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
AnnotationBase::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
AnnotationBase::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
AnnotationBase::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
AnnotationObject::$description public property The description of the plugin.
AnnotationObject::$label public property A human-readable label.
AnnotationObject::$weight public property The weight of the plugin.
AnnotationObject::$_deprecated protected property Stores deprecated values.
AnnotationObject::$_deprecatedProperties protected property A list of deprecation messages, keyed by the deprecated property name.
AnnotationObject::$_triggeredDeprecations private property A list of triggered deprecations.
AnnotationObject::create public static function Allows the creation of new objects statically, for easier chainability.
AnnotationObject::DEPRECATED_REGEX constant
AnnotationObject::doMerge protected function Merges values with this plugin.
AnnotationObject::get public function Gets the value of an annotation. Overrides AnnotationInterface::get
AnnotationObject::getId public function Gets the unique ID for this annotated class. Overrides AnnotationBase::getId
AnnotationObject::getIterator public function
AnnotationObject::id public function Gets the unique identifier of the plugin. Overrides PluginDefinitionInterface::id
AnnotationObject::merge public function Merges values with this plugin.
AnnotationObject::normalizeValue protected function Normalizes a value to ensure its ready to be merged with the definition.
AnnotationObject::offsetExists public function
AnnotationObject::offsetGet public function
AnnotationObject::offsetSet public function
AnnotationObject::offsetUnset public function
AnnotationObject::protectedProperties protected function Indicates properties that should never be overridden after instantiation. 1
AnnotationObject::triggerDeprecation private function Triggers a deprecation notice for a given property.
AnnotationObject::validateIdentifier protected function Helper method for validating the definition identifier. 2
AnnotationObject::__construct public function AnnotationObject constructor. 1
AnnotationObject::__get public function
AnnotationObject::__isset public function
AnnotationObject::__set public function
AnnotationObject::__sleep public function
AnnotationObject::__unset public function
AnnotationObject::__wakeup public function
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function Aliased as: __sleepTrait 1
DependencySerializationTrait::__wakeup public function Aliased as: __wakeupTrait 2
InstallablePlugin::$libraries public property An array of available installable libraries this plugin supports.
InstallablePlugin::getInstalledId public function Retrieves the installed library or plugin identifier.
InstallablePlugin::getInstalledLibrary public function Retrieves the installed library.
InstallablePlugin::getPreferredLibrary public function Retrieves the preferred library.
InstallablePlugin::getRequirementsByConstraint public function Retrieves requirements of a certain constraint type.
InstallablePlugin::getRequirementsByType public function Retrieves requirements of a certain type.
InstallablePlugin::isInstalled public function Indicates whether plugin is installed.
InstallablePlugin::isPreferredLibraryInstalled public function Indicates whether the preferred library is installed.
InstallablePluginTrait::$deprecated public property Indicates the plugin has been deprecated by providing a message.
InstallablePluginTrait::$experimental public property Indicates the plugin is experimental by providing a message.
InstallablePluginTrait::$installed Deprecated public property Flag indicating whether plugin is installed.
InstallablePluginTrait::$object public property The class name of the primary object that is implemented by the library.
InstallablePluginTrait::$preferred public property Flag indicating whether it is the preferred library.
InstallablePluginTrait::$requirements public property An array of requirements for the plugin.
InstallablePluginTrait::$requirementViolations public property A list of requirement violation messages.
InstallablePluginTrait::$runtimeRequirements public property An array of runtime requirements for the plugin.
InstallablePluginTrait::$ui public property Flag indicating whether this plugin is to be visible in UI areas.
InstallablePluginTrait::$url public property A URL for the plugin, typically for installation instructions.
InstallablePluginTrait::$version public property The installed version.
InstallablePluginTrait::$versionConstraint Deprecated public property The constraint the version must satisfy to be considered "installable".
InstallablePluginTrait::getLink public function Retrieves the plugin as a link using its label and URL.
InstallablePluginTrait::getUrl public function Retrieves the definition's URL property as an object. 1
InstallablePluginTrait::getVersionRequirements public function Retrieves requirements that contain "Version" constraints.
InstallablePluginTrait::validate public function Validates the plugin requirements.
MarkdownParser::$bundledExtensions public property List of markdown extension plugin identifiers, bundled with the parser.
MarkdownParser::$extensionInterfaces public property A list of extension interface class names.