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

Breadcrumb

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

function FeatureSet::setNodeProvider

Sets the node provider to use in this environment

File

vendor/ramsey/uuid/src/FeatureSet.php, line 232

Class

FeatureSet
FeatureSet detects and exposes available features in the current environment

Namespace

Ramsey\Uuid

Code

public function setNodeProvider(NodeProviderInterface $nodeProvider) : void {
    $this->nodeProvider = $nodeProvider;
    if (isset($this->timeProvider)) {
        $this->timeGenerator = $this->buildTimeGenerator($this->timeProvider);
    }
}

API Navigation

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