MenuLinkContentStorageInterface.php

Same filename in other branches
  1. 8.9.x core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php
  2. 10 core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php
  3. 11.x core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php

Namespace

Drupal\menu_link_content

File

core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php

View source
<?php

namespace Drupal\menu_link_content;

use Drupal\Core\Entity\ContentEntityStorageInterface;

/**
 * Defines an interface for menu_link_content entity storage classes.
 */
interface MenuLinkContentStorageInterface extends ContentEntityStorageInterface {
    
    /**
     * Gets a list of menu link IDs with pending revisions.
     *
     * @return int[]
     *   An array of menu link IDs which have pending revisions, keyed by their
     *   revision IDs.
     *
     * @internal
     */
    public function getMenuLinkIdsWithPendingRevisions();

}

Interfaces

Title Deprecated Summary
MenuLinkContentStorageInterface Defines an interface for menu_link_content entity storage classes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.