You are here

public function StylesDefault::getObject in Styles 7.2

1 method overrides StylesDefault::getObject()
FileStyles::getObject in contrib/file_styles/includes/styles/FileStyles.inc
Override the getObject() method to account for media fields that store their data in a sub-property rather than the field itself.

File

includes/Styles.inc, line 228
Styles.inc Base class for Styles.

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function getObject() {
  return $this
    ->get('object');
}