diff --git a/entity_translation.admin.inc b/entity_translation.admin.inc index bb11d9b..c1457c9 100644 --- a/entity_translation.admin.inc +++ b/entity_translation.admin.inc @@ -306,7 +306,7 @@ function entity_translation_overview($entity_type, $entity, $callback = NULL) { } $rows[] = array( 'data' => array($language_name, $source_name, $row_title, $status, implode(" | ", $options)), - 'class' => $classes + 'class' => $classes, ); } } @@ -320,7 +320,7 @@ function entity_translation_overview($entity_type, $entity, $callback = NULL) { $build['entity_translation_overview'] = array( '#theme' => 'entity_translation_overview', '#header' => $header, - '#elements' => $rows, + '#rows' => $rows, ); return $build; diff --git a/entity_translation.module b/entity_translation.module index fd8e2be..61a97fb 100644 --- a/entity_translation.module +++ b/entity_translation.module @@ -798,7 +798,7 @@ function entity_translation_theme() { 'render element' => 'element', ), 'entity_translation_overview' => array( - 'variables' => array('elements' => NULL, 'header' => NULL), + 'variables' => array('rows' => NULL, 'header' => NULL), 'file' => 'entity_translation.admin.inc' ), 'entity_translation_overview_outdated' => array(