ManyToOneHelper
class ManyToOneHelper (View source)
This many to one helper object is used on both arguments and filters.
Methods
No description
No description
Get the field via formula or build it using alias and field name.
Add a table to the query.
No description
Provide the proper join for summary queries. This is important in part because it will cooperate with other arguments if possible.
Override ensureMyTable so we can control how this joins in.
Provides a unique placeholders for handlers.
No description
Details
__construct($handler)
No description
static
defineOptions($options)
No description
buildOptionsForm($form, FormStateInterface $form_state)
No description
getField()
Get the field via formula or build it using alias and field name.
Sometimes the handler might want us to use some kind of formula, so give it that option. If it wants us to do this, it must set $helper->formula = TRUE and implement handler->getFormula().
addTable($join = NULL, $alias = NULL)
Add a table to the query.
This is an advanced concept; not only does it add a new instance of the table, but it follows the relationship path all the way down to the relationship link point and adds that as a new relationship and then adds the table to the relationship, if necessary.
getJoin()
No description
summaryJoin()
Provide the proper join for summary queries. This is important in part because it will cooperate with other arguments if possible.
ensureMyTable()
Override ensureMyTable so we can control how this joins in.
The operator actually has influence over joining.
protected
placeholder()
Provides a unique placeholders for handlers.
addFilter()
No description