1 view.inc view::is_translatable()

Determine whether a view supports admin string translation.

File

core/modules/views/includes/view.inc, line 2033
Provides the view object type and associated methods.

Class

view

Code

function is_translatable() {
  // If the view is normal or overridden, use admin string translation.
  // A newly created view won't have a type. Accept this.
  return (!isset($this->type) || in_array($this->type, array(t('Normal'), t('Overridden')))) ? TRUE : FALSE;
}