public function getFieldSource() {
		if(is_callable(self::$field_source)) {
			$fields = call_user_func(self::$field_source, $this);
			if(!$fields instanceof FieldList) {
				throw new InvalidArgumentException('Field source must be callable and return a FieldList');
			}
			return $fields;
		}
		return new FieldList(singleton('Member')->getCMSFields()->dataFields());
	}
public function getFieldSource() {
		if(is_callable(self::$field_source)) {
			$fields = call_user_func(self::$field_source, $this);
			if(!$fields instanceof FieldList) {
				throw new InvalidArgumentException('Field source must be callable and return a FieldList');
			}
			return $fields;
		}
		return new FieldList(singleton('Member')->getCMSFields()->dataFields());
	}
public function getFieldSource ( ) { if ( is_callable ( self :: $ field_source ) ) { $ fields = call_user_func ( self :: $ field_source , $ this ) ; if ( ! $ fields instanceof FieldList ) { throw new InvalidArgumentException ( 'Field source must be callable and return a FieldList' ) ; } return $ fields ; } return new FieldList ( singleton ( 'Member' ) -> getCMSFields ( ) -> dataFields ( ) ) ; }
Uses the field_source defined, or falls back to the Member's getCMSFields
@return FieldList
Uses the field_source defined or falls back to the Member s getCMSFields