ShortcutInterface::setWeight

public ShortcutInterface::setWeight($weight)

Sets the weight among shortcuts with the same depth.

Parameters

int $weight: The shortcut weight.

Return value

\Drupal\shortcut\ShortcutInterface The called shortcut entity.

File

core/modules/shortcut/src/ShortcutInterface.php, line 48

Class

ShortcutInterface
Provides an interface defining a shortcut entity.

Namespace

Drupal\shortcut

Code

1
public function setWeight($weight);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.