You are here

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

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

If the item is an array with numeric keys, count the keys.

Parameters

mixed $item: The value to assess.

Return value

int The number of numeric keys in the array.

1 method overrides SchemaMetatagManagerInterface::countNumericKeys()
SchemaMetatagManager::countNumericKeys in src/SchemaMetatagManager.php
If the item is an array with numeric keys, count the keys.

File

src/SchemaMetatagManagerInterface.php, line 83

Class

SchemaMetatagManagerInterface
Interface SchemaMetatagManagerInterface.

Namespace

Drupal\schema_metatag

Code

public static function countNumericKeys($item);