Causes for enforcement action. In case any building, structure, landscaping or land is, or is proposed to be, erected, constructed, reconstructed, altered, converted, maintained or used in violation of any ordinance enacted under the Pennsylvania Municipalities Planning Code or prior enabling laws, the Township Council or, with the approval of the Township Council, an officer of the Township, or any aggrieved owner or tenant of real property who shows that his lot or person will be substantially affected by the alleged violation, in addition to other remedies, may institute any appropriate action or proceeding to prevent, restrain, correct or abate such building, structure, landscaping or land, or to prevent, in or about such premises, any act, conduct, business or use constituting a violation. When any landowner and/or developer institutes such an action, notice of that action shall be served upon the Township at least 30 days prior to the time the action is begun by serving a copy of the complaint on the Township Council. No such action may be maintained until such notice has been given.