You are here

public function RulesLinkI18nStringObjectWrapper::get_field in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link_i18n.module \RulesLinkI18nStringObjectWrapper::get_field()

Overrides i18n_string_object_wrapper::get_field() to read properties from the settings array.

Overrides i18n_object_wrapper::get_field

File

./rules_link_i18n.module, line 52
Rules link i18n integration module via entity API i18n support.

Class

RulesLinkI18nStringObjectWrapper
Custom i18n object wrapper.

Code

public function get_field($field, $default = NULL) {
  return isset($this->object->settings[$field]) ? $this->object->settings[$field] : parent::get_field($field, $default);
}