Provides an opportunity to manipulate the field configuration.
Refs #2245
This commit is contained in:
parent
cd0cd260b5
commit
1e3f5a22ef
|
|
@ -307,6 +307,7 @@ class RelationController extends ControllerBehavior
|
|||
|
||||
$this->alias = camel_case('relation ' . $field);
|
||||
$this->config = $this->makeConfig($this->getConfig($field), $this->requiredRelationProperties);
|
||||
$this->controller->relationExtendConfig($this->config, $this->field);
|
||||
|
||||
/*
|
||||
* Relationship details
|
||||
|
|
@ -1266,6 +1267,15 @@ class RelationController extends ControllerBehavior
|
|||
// Overrides
|
||||
//
|
||||
|
||||
/**
|
||||
* Provides an opportunity to manipulate the field configuration.
|
||||
* @param object $config
|
||||
* @param string $field
|
||||
*/
|
||||
public function relationExtendConfig($config, $field)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides an opportunity to manipulate the view widget.
|
||||
* @param Backend\Classes\WidgetBase $widget
|
||||
|
|
|
|||
Loading…
Reference in New Issue