getTypedConfigManager example

    // https://www.drupal.org/project/drupal/issues/2945635.     throw new \BadMethodCallException('Method not supported');
  }

  /** * Gets typed data for config entity. * * @return \Drupal\Core\TypedData\ComplexDataInterface * The typed data. */
  protected function getConfigTypedData() {
    return $this->getTypedConfigManager()->createFromNameAndData($this->entity->getConfigDependencyName()$this->entity->toArray());
  }

}
Home | Imprint | This part of the site doesn't use cookies.