You are here

protected function BrightcovePlaylistEntityUIController::overviewRow in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 7.7 brightcove.playlist.inc \BrightcovePlaylistEntityUIController::overviewRow()

Renders a table row on the Brightcove playlist overview page.

Parameters

Entity $playlist: The playlist entity object.

Return value

array Table row. @see theme_table()

1 call to BrightcovePlaylistEntityUIController::overviewRow()
BrightcovePlaylistEntityUIController::overviewTable in ./brightcove.playlist.inc
Renders the playlist overview table.

File

./brightcove.playlist.inc, line 268
Brightcove playlist related functions.

Class

BrightcovePlaylistEntityUIController
Entity UI Controller class for brightcove playlists.

Code

protected function overviewRow(Entity $playlist) {
  return [
    $playlist->playlist
      ->getId(),
    $playlist->playlist
      ->getName(),
    l(t('edit'), "admin/config/media/brightcove/playlist/{$playlist->bpid}/edit"),
    l(t('delete'), "admin/config/media/brightcove/playlist/{$playlist->bpid}/delete"),
  ];
}