You are here

public function ShortcutInterface::getWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/shortcut/src/ShortcutInterface.php \Drupal\shortcut\ShortcutInterface::getWeight()

Returns the weight among shortcuts with the same depth.

Return value

int The shortcut weight.

1 method overrides ShortcutInterface::getWeight()
Shortcut::getWeight in core/modules/shortcut/src/Entity/Shortcut.php
Returns the weight among shortcuts with the same depth.

File

core/modules/shortcut/src/ShortcutInterface.php, line 42
Contains \Drupal\shortcut\ShortcutInterface.

Class

ShortcutInterface
Provides an interface defining a shortcut entity.

Namespace

Drupal\shortcut

Code

public function getWeight();