You are here

public function node::objectMatches in Fasttoggle 8.2

Matches an object?

Overrides SettingObjectInterface::objectMatches

File

src/Plugin/SettingObject/node.php, line 74
Fasttoggle Managed Node

Class

node
Class for managing nodes.

Namespace

Drupal\fasttoggle\Plugin\SettingObject

Code

public function objectMatches($object) {
  return $object instanceof \Drupal\node\Entity\Node;
}