You are here

public function EntityDependencyIterator::key in Entity Dependency API 7

Returns the key of the current element.

File

./EntityDependencyIterator.inc, line 251
Entity Dependency classes.

Class

EntityDependencyIterator
Iterator class which does the heavy lifting for detecting dependencies.

Code

public function key() {
  return key($this->entities);
}