Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ComponentElement.php

class ComponentElement

Same name in this branch
  1. 11.1.x core/lib/Drupal/Core/Render/Element/ComponentElement.php \Drupal\Core\Render\Element\ComponentElement

Hierarchy

  • class \PharIo\Manifest\ManifestElement
    • class \PharIo\Manifest\ComponentElement extends \PharIo\Manifest\ManifestElement

Expanded class hierarchy of ComponentElement

File

vendor/phar-io/manifest/src/xml/ComponentElement.php, line 13

Namespace

PharIo\Manifest
View source
class ComponentElement extends ManifestElement {
    public function getName() : string {
        return $this->getAttributeValue('name');
    }
    public function getVersion() : string {
        return $this->getAttributeValue('version');
    }

}

Members

Title Sort descending Modifiers Object type Summary
ComponentElement::getName public function
ComponentElement::getVersion public function
ManifestElement::$element private property @var DOMElement
ManifestElement::getAttributeValue protected function
ManifestElement::getChildByName protected function
ManifestElement::getChildrenByName protected function
ManifestElement::hasAttribute protected function
ManifestElement::hasChild protected function
ManifestElement::XMLNS public constant
ManifestElement::__construct public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal