public function createLocationFilter($node) {
		$allow = $this->extend('filterCreateLocations', $node);
		if (count($allow) == 0) {
			return true;
		}
		return min($allow) > 0;
	}
public function createLocationFilter($node) {
		$allow = $this->extend('filterCreateLocations', $node);
		if (count($allow) == 0) {
			return true;
		}
		return min($allow) > 0;
	}
public function createLocationFilter ( $ node ) { $ allow = $ this -> extend ( 'filterCreateLocations' , $ node ) ; if ( count ( $ allow ) == 0 ) { return true ; } return min ( $ allow ) > 0 ; }
Callback to handle filtering of the selection tree that users can create in.

Uses extensions to allow for overrides.

@param DataObject $node
Callback to handle filtering of the selection tree that users can create in .