You are here

function LinkitPlugin::buildRowClass in Linkit 7.2

Returns a string with CSS classes that will be added to the search result row for this item.

Return value

A string with CSS classes

1 call to LinkitPlugin::buildRowClass()
LinkitPluginEntity::autocomplete_callback in plugins/linkit_plugins/linkit-plugin-entity.class.php
The autocomplete callback function for the Linkit Entity plugin.
1 method overrides LinkitPlugin::buildRowClass()
LinkitPluginNode::buildRowClass in plugins/linkit_plugins/linkit-plugin-node.class.php
Returns a string with CSS classes that will be added to the search result row for this item.

File

plugins/plugin.class.php, line 114
Linkit Plugin interface.

Class

LinkitPlugin
LinkitPlugin.

Code

function buildRowClass($row_classes) {
  if (is_array($row_classes)) {
    $row_classes = implode(' ', $row_classes);
  }
  return $row_classes;
}