You are here

public static function SchemaMetatagManagerInterface::isObject in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/SchemaMetatagManagerInterface.php \Drupal\schema_metatag\SchemaMetatagManagerInterface::isObject()

Is object?

Whether this array represents an object.

See if the array has numeric keys (it's actually an array) or not (it's an object that should have a @type or @id).

Parameters

mixed $array: The value to assess.

Return value

bool TRUE/FALSE.

1 method overrides SchemaMetatagManagerInterface::isObject()
SchemaMetatagManager::isObject in src/SchemaMetatagManager.php
Is object?

File

src/SchemaMetatagManagerInterface.php, line 156

Class

SchemaMetatagManagerInterface
Interface SchemaMetatagManagerInterface.

Namespace

Drupal\schema_metatag

Code

public static function isObject($array);