You are here

class ViewsRowsWrapperTypes in Views Rows Wrapper 8.2

Same name and namespace in other branches
  1. 8 views_rows_wrapper_types.inc \Drupal\views_rows_wrapper\ViewsRowsWrapperTypes

Views Rows Wrapper helper class.

Hierarchy

Expanded class hierarchy of ViewsRowsWrapperTypes

1 file declares its use of ViewsRowsWrapperTypes
ViewsRowsWrapper.php in src/Plugin/views/style/ViewsRowsWrapper.php

File

src/ViewsRowsWrapperTypes.php, 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()