Project

General

Profile

Revision 01f36513

Added by Assos Assos about 6 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/webform/webform.tokens.inc
241 241
        if (strcmp($name, $matched_token) !== 0) {
242 242
          // Check if this matches the key plus a modifier.
243 243
          $modifier = substr($name, strrpos($name, ':') + 1);
244
          // TODO: Allow components to provide additional modifiers per
244
          // @todo: Allow components to provide additional modifiers per
245 245
          // type, i.e. key, day, hour, minute, etc.
246 246
          if (strcmp($name, $matched_token . ':' . $modifier) !== 0 || !in_array($modifier, $available_modifiers)) {
247 247
            // No match.

Also available in: Unified diff