Skip to content
Snippets Groups Projects

Rerolled for 11.x

2 unresolved threads

Closes #2741429

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
628 *
629 * @param string $entity_type_id
630 * The entity type ID.
631 * @param string $id
632 * The entity ID to add as a dependency.
633 *
634 * @return $this
635 *
636 * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
637 * Thrown if the entity type is invalid.
638 * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
639 * Thrown if the entity type is invalid.
640 * @throws \Drupal\Core\Config\Entity\Exception\ConfigEntityDependencyException
641 * Thrown if the entity does not exist.
642 */
643 protected function addConfigEntityDependency($entity_type_id, $id) {
  • Suggested change
    643 protected function addConfigEntityDependency($entity_type_id, $id) {
    643 protected function addConfigEntityDependency(string $entity_type_id, string $id): static {
  • Please register or sign in to reply
  • 723 725 ];
    724 726 }
    725 727
    728 /**
    729 * @covers ::addConfigEntityDependency
    730 */
    731 public function testAddConfigEntityDependency() {
    Please register or sign in to reply
    Loading