public function AliasTypeInterface::applies in View Mode Page 3.2.x
Same name and namespace in other branches
- 8.3 src/AliasTypeInterface.php \Drupal\view_mode_page\AliasTypeInterface::applies()
- 4.0.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_pageCode
public function applies($object);