You are here

class ViewsRowsWrapperTypes in Views Rows Wrapper 8

Same name and namespace in other branches
  1. 8.2 src/ViewsRowsWrapperTypes.php \Drupal\views_rows_wrapper\ViewsRowsWrapperTypes

Views Rows Wrapper helper class.

Hierarchy

Expanded class hierarchy of ViewsRowsWrapperTypes

2 files declare their use of ViewsRowsWrapperTypes
ViewsRowsWrapper.php in src/Plugin/views/style/ViewsRowsWrapper.php
views_rows_wrapper.theme.inc in ./views_rows_wrapper.theme.inc
Theme for views_rows_wrapper views.

File

./views_rows_wrapper_types.inc, line 8

Namespace

Drupal\views_rows_wrapper
View source
class ViewsRowsWrapperTypes {

  /**
   * Returns wrapper element types()
   */
  public static function elementTypes() {
    return [
      "DIV",
      "SPAN",
    ];
  }

  /**
   * Returns wrapper attribute types()
   */
  public static function attributeTypes() {
    return [
      "CLASS",
      "ID",
    ];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ViewsRowsWrapperTypes::attributeTypes public static function Returns wrapper attribute types()
ViewsRowsWrapperTypes::elementTypes public static function Returns wrapper element types()