weight efq
Categories
Component ID
1943932
Component name
weight efq
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1164
Component created
Component changed
Component body
A small EntityFieldsQuery class extension that will allow one to create a new WeightEtnityFieldQuery and that data will be sorted by the weight module.
This Module was inspired by #1419820: Entity weighting and may end up being merged into the weight module but for now feel free to use it.
usage
$query = new WeightEntityFieldQuery();
$result = $query
->propertyCondition('status', 1)
->entityCondition('bundle', 'page_header')
->range(0,3)
->execute()
;
All development sponsored by Knectar
