You are here

public function user::objectMatches in Fasttoggle 8.2

Matches an object?

Overrides SettingObjectInterface::objectMatches

File

src/Plugin/SettingObject/user.php, line 60
Fasttoggle Managed Node

Class

user
Class for managing users.

Namespace

Drupal\fasttoggle\Plugin\SettingObject

Code

public function objectMatches($object) {
  return $object instanceof \Drupal\user\Entity\User;
}