public function SearchApiEtPropertyInfoAlter::__construct in Search API Entity Translation 7.2
Constructs a new SearchApiEtPropertyInfoAlter object.
Parameters
callable|null $callback: The previous set property info alter callback.
File
- includes/
SearchApiEtPropertyInfoAlter.php, line 31 - Contains the SearchApiEtPropertyInfoAlter class.
Class
- SearchApiEtPropertyInfoAlter
- Helper class for altering Entity API property info arrays.
Code
public function __construct($callback = NULL) {
if ($callback && is_callable($callback)) {
$this->callback = $callback;
}
}