* Changed hook_preprocess_HOOK() to template_preprocess_HOOK()
* Changed hook_preprocess_HOOK() to template_preprocess_HOOK()
* Changed hook_preprocess_HOOK() to template_preprocess_HOOK()
* Modified comments to say template_preprocess_Hook()
* Changed _Hook to upper case in comments in 3 spots.
* Changed hook_preprocess() to template_preprocess_HOOK()
* Changed hook_preprocess() to template_preprocess_HOOK()
* Changed hook_preprocess() to template_preprocess_HOOK()
This function can replace calls to uasort with drupal_sort_weight. This
function will return a consistant sort order between PHP5 and PHP7 for
elements of the same weight by preserving the order of elements with the
same weight.
Under both PHP5 and PHP7 the order of elements with the same weight are
not guarenteed, and in practice the order of elements returned is
different between PHP5 and PHP7. This could cause some issues where the
order is changed depending on PHP version. This function gives us the
option of a consistant sort order.
This pull request also defines some new unit tests for the new function.
Not all step based ingest workflows required to have a parent
COLLECTION object. Even when it’s common, there are concrete cases,
like newspapers and books, where the parent object is not a collection.
And more over, it does not require such because the resulting ingested
object are not children of such. This pull request fixes an error
introduced by a recent pull which enabled Contextual CMODEL labels on
step forms and broke book and newspaper drupal tests. Also adds the
ability to enable/disable those contextual messages since the use case
could not be global.
* Added context info to ingest forms.
* refactored ingest form context title.
* Safety check on cmodel load
* Updated and moved functionality into step storage.
* Updated index key
* Refactored ingest step context.
* No need to pass by reference, updated function doc.
* Added simple display for single CModel ingest step.
* Cleaning up?
* Coding standards.
* Updated label retrieval method.
* Updated parameter name in label retrieving function.
* Make breadcrumb creation a hookable process.
* Forgot to add selection to admin page.
* Add more attribution and remove unused path.
* Fix admin form and coding standards.
* Add the new variable to be removed on uninstall
* Code review
* Code review
* Fix code style and add some docs to README
* Stop using Mulgara prefixes
* Update default dublin core template
Update the template to:
- expand newline in the metadata to <br> tags
- run it through filter_xss before displaying as is done in the
metadata template.
* Updated based on feedback in pull request