You are here

public function AliasTypeInterface::applies in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/AliasTypeInterface.php \Drupal\view_mode_page\AliasTypeInterface::applies()
  2. 3.2.x src/AliasTypeInterface.php \Drupal\view_mode_page\AliasTypeInterface::applies()

Determines if this plugin type can apply a given object.

Parameters

object $object: The object used to determine if this plugin can apply.

Return value

bool Whether this plugin applies to the given object.

1 method overrides AliasTypeInterface::applies()
EntityAliasTypeBase::applies in src/Plugin/view_mode_page/AliasType/EntityAliasTypeBase.php
Determines if this plugin type can apply a given object.

File

src/AliasTypeInterface.php, line 38

Class

AliasTypeInterface
Provides an interface for view_mode_page alias types.

Namespace

Drupal\view_mode_page

Code

public function applies($object);