Elgg/Elgg — pull request #7005 by mrclay (2014-07-03 03:35:14+00:00)
Title: fix(router): Can return 'handler' param in `'route', $identifier` hook again

This PR replaces #6971

In 1.8, it was possible to delegate to a different page handler by registering
a callback for the `'route', $identifier` plugin hook that looks like so:

```php
$result['handler'] = 'other';
return $result;
```

Then during 1.9 it was changed to expect the key to be 'identifier':

```php
$result['identifier'] = 'other';
return $result;
```

This change makes it so that both approaches will work as intended.

Fixes #6696