Back to FormField class

Method getDataAttributes

public array
getDataAttributes
()
Method to get data attributes. For example, data-user-type
Returns
  • array list of data attribute(s)
Since
  • 4.0.0
Class: FormField
Project: Joomla

Method getDataAttributes - Source code

/**
 * Method to get data attributes. For example, data-user-type
 *
 * @return  array list of data attribute(s)
 *
 * @since  4.0.0
 */
public function getDataAttributes()
{
    return $this->dataAttributes;
}