I hereby claim:
- I am swirtsjw on github.
- I am stevewirt (https://keybase.io/stevewirt) on keybase.
- I have a public key ASBpNTkcaMc6GNRb22wX0s1k09qi_aCILDpxWY6HqQ7X1Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace Drupal\migration_tools\Obtainer; | |
| use Drupal\migration_tools\Obtainer\ObtainHtml; | |
| use Drupal\migration_tools\StringTools; | |
| /** | |
| * Obtainers for Long Plain Text. | |
| * |
| <?php | |
| /** | |
| * @file | |
| * Defines FormManipulator class for modifying a Drupal 7 Form. | |
| */ | |
| /** | |
| * Class with methods for manipulating a Drupal 7 form. | |
| * | |
| * Current methods are |
| <?php | |
| // Moving lots of stuff (filters, counters, headers...) around in a View | |
| // using QueryPath. | |
| // Not quite the most Drupal-like, but actually much more reliable when it | |
| // comes to inserting items into filters that are not covered by the Views UI | |
| // and moving counters out of the header. | |
| /** | |
| * Implements hook_views_post_render(). | |
| */ |
| /** | |
| * Implements hook_boot(). | |
| */ | |
| function local_framework_boot() { | |
| // Set http header to force ie to edge mode to prevent compatibility-mode. | |
| // This is the default behaviour. On all but prod set doj_theme_ie_to_edge=0. | |
| if (!empty($_GET) && !empty($_GET['debug']) && ($_GET['debug'] == 'ie')) { | |
| // There is a debug so do not force to use edge, do nothing. | |
| } | |
| else { |
| /** | |
| * Implements hook_init(). | |
| */ | |
| function mymodule_init() { | |
| // This is called on every page request (cached and non-cached). | |
| mymodule_set_ie_to_edge(); | |
| } | |