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

Breadcrumb

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

function Message::__construct

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php \Google\Protobuf\Internal\Message::__construct()
  2. 11.1.x vendor/symfony/mime/Message.php \Symfony\Component\Mime\Message::__construct()

Construct a Config object.

Parameters

\Composer\Package\RootPackageInterface $root_package: Composer package object for the root package.

string $event_name: The event name.

File

composer/Plugin/ProjectMessage/Message.php, line 43

Class

Message
Determine configuration.

Namespace

Drupal\Composer\Plugin\ProjectMessage

Code

public function __construct(RootPackageInterface $root_package, $event_name) {
    $this->rootPackage = $root_package;
    $this->eventName = $event_name;
}
RSS feed
Powered by Drupal